From 80a5815c0c7e48e157a5caab26fece45e570a76e Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Mon, 9 Sep 2013 00:40:20 +0000 Subject: [PATCH] (trunk, libT) tr-getopt-test fixes similar to r14192 --- libtransmission/tr-getopt-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/tr-getopt-test.c b/libtransmission/tr-getopt-test.c index 6344293a5..7922b3b8d 100644 --- a/libtransmission/tr-getopt-test.c +++ b/libtransmission/tr-getopt-test.c @@ -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); } -- 2.40.0