Skip to content

Commit

Permalink
ts_test_mt: use NULL to set a pointer to zero
Browse files Browse the repository at this point in the history
  • Loading branch information
merge committed Mar 19, 2017
1 parent e06b86f commit c71c05d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ts_test_mt.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ int main(int argc, char **argv)

while (1) {
const struct option long_options[] = {
{ "help", no_argument, 0, 'h' },
{ "verbose", no_argument, 0, 'v' },
{ "idev", required_argument, 0, 'i' },
{ "help", no_argument, NULL, 'h' },
{ "verbose", no_argument, NULL, 'v' },
{ "idev", required_argument, NULL, 'i' },
};

int option_index = 0;
Expand Down

0 comments on commit c71c05d

Please sign in to comment.