Skip to content

Commit

Permalink
Properly initialize the terminating option
Browse files Browse the repository at this point in the history
This removes compilation warnings about uninitialized values.
  • Loading branch information
matejmatuska committed Sep 3, 2024
1 parent 4d0dd5e commit bb5989a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ int main(int argc, char* argv[]){
{"src", required_argument, NULL, 's'},
{"lmdb", no_argument, NULL, 'l'},
{"help", no_argument, NULL, 'h'},
{0}
{0, 0, 0, 0}
};
int option_index = 0;
while (1) {
Expand Down

0 comments on commit bb5989a

Please sign in to comment.