Skip to content

Commit

Permalink
Use NULL, not false, in the terminating entry of test_data[].
Browse files Browse the repository at this point in the history
  • Loading branch information
millert committed Nov 16, 2024
1 parent 9c63ff0 commit 4c99e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/regress/parse_gids/parse_gids_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ static struct parse_gids_test test_data[] = {
{ "1,2,3,4", &test_data[0].basegid, 0, 5, test1_out },
{ "1,2,3,4", NULL, 0, 4, test2_out },
{ "1,-2,3,4", &test_data[2].basegid, 0, 5, test3_out },
{ NULL, false, 0, 0, NULL }
{ NULL, NULL, 0, 0, NULL }
};

static void
Expand Down

0 comments on commit 4c99e29

Please sign in to comment.