summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-11-12 19:32:06 +0000
committerMartin Basti <mbasti@redhat.com>2015-11-13 18:37:23 +0100
commit2735db0d0e4e7b19af594107e31e667bdcb32200 (patch)
tree56b38c9d9529b84a9be16ad11f145e84159f9aac /daemons
parent681afc49145a6f5a6135d239d3db683bb1cb81e8 (diff)
downloadfreeipa-2735db0d0e4e7b19af594107e31e667bdcb32200.tar.gz
freeipa-2735db0d0e4e7b19af594107e31e667bdcb32200.tar.xz
freeipa-2735db0d0e4e7b19af594107e31e667bdcb32200.zip
ipa_kdb_tests: Fix warning Wmissing-braces
tests/ipa_kdb_tests.c:254:9: warning: missing braces around initializer [-Wmissing-braces] {3, {BLACKLIST_SID"-1000", BLACKLIST_SID"-1001", BLACKLIST_SID"-1002"}, ^ tests/ipa_kdb_tests.c:254:9: note: (near initialization for ‘test_data[6]’) tests/ipa_kdb_tests.c:256:9: warning: missing braces around initializer [-Wmissing-braces] {0, NULL, 0 , NULL} ^ tests/ipa_kdb_tests.c:256:9: note: (near initialization for ‘test_data[7]’) tests/ipa_kdb_tests.c:234:21: warning: missing braces around initializer [-Wmissing-braces] } test_data[] = { ^ Reviewed-By: Martin Basti <mbasti@redhat.com>
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-kdb/tests/ipa_kdb_tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemons/ipa-kdb/tests/ipa_kdb_tests.c b/daemons/ipa-kdb/tests/ipa_kdb_tests.c
index 851907c39..5d0868b51 100644
--- a/daemons/ipa-kdb/tests/ipa_kdb_tests.c
+++ b/daemons/ipa-kdb/tests/ipa_kdb_tests.c
@@ -248,8 +248,8 @@ void test_filter_logon_info(void **state)
1, {DOM_SID_TRUST"-1002"}},
/* all SIDs filtered*/
{3, {BLACKLIST_SID"-1000", BLACKLIST_SID"-1001", BLACKLIST_SID"-1002"},
- 0, NULL},
- {0, NULL, 0 , NULL}
+ 0, {}},
+ {0, {}, 0 , {}}
};
for (c = 0; test_data[c].sidcount != 0; c++) {