2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Use NULL, not false, in the terminating entry of test_data[].

This commit is contained in:
Todd C. Miller 2024-11-16 13:48:23 -07:00
parent 9c63ff0e1b
commit 4c99e29bb3

View File

@ -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", &test_data[0].basegid, 0, 5, test1_out },
{ "1,2,3,4", NULL, 0, 4, test2_out }, { "1,2,3,4", NULL, 0, 4, test2_out },
{ "1,-2,3,4", &test_data[2].basegid, 0, 5, test3_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 static void