1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-15 16:29:34 +00:00

(trunk, libT) tr-getopt-test fixes similar to r14192

This commit is contained in:
Jordan Lee 2013-09-09 00:40:20 +00:00
parent eff3b75586
commit 80a5815c0c

View file

@ -50,8 +50,8 @@ test_no_options (void)
int argc = 1;
const char * argv[] = { "/some/path/tr-getopt-test" };
int expected_n = 0;
int expected_c[] = { };
const char * expected_optarg[] = { };
int expected_c[] = { 0 };
const char * expected_optarg[] = { NULL };
return run_test (argc, argv, expected_n, expected_c, expected_optarg);
}