docopt / docopt.c

C-code generator for docopt language.
MIT License
318 stars 46 forks source link

Use of uninitialized variables in `parse_shorts` and `parse_long` #34

Open tmr232 opened 8 years ago

tmr232 commented 8 years ago

The variable option is not initialized in parse_shorts and parse_long, and can be used prior to assignment to it. This causes a compile-time warning in VS15.