Code

t/: Make the test-suite compile with strict compiler flags.
[sysdb.git] / t / libsysdb_test.c
index dd5ce8e9ea3e7813d44f37f09900bda60b7c8b87..ab241492ea77db4bccf276676cfc8e46a49d5d62 100644 (file)
@@ -33,11 +33,13 @@ int
 main(void)
 {
        int failed = 0;
+
+       SRunner *sr;
        Suite *s;
 
        /* t/utils/llist_test */
        s = util_llist_suite();
-       SRunner *sr = srunner_create(s);
+       sr = srunner_create(s);
        srunner_run_all(sr, CK_NORMAL);
        failed += srunner_ntests_failed(sr);
        srunner_free(sr);