refs.c: remove ref_transaction_rollback
[gitweb.git] / string-list.h
index de6769c92dd109791c872b8d320c2caeee9f2b8d..dd5e2944658cce2428cef34a6f920d63a4bd3628 100644 (file)
@@ -15,8 +15,8 @@ struct string_list {
        compare_strings_fn cmp; /* NULL uses strcmp() */
 };
 
-#define STRING_LIST_INIT_NODUP { NULL, 0, 0, 0 }
-#define STRING_LIST_INIT_DUP   { NULL, 0, 0, 1 }
+#define STRING_LIST_INIT_NODUP { NULL, 0, 0, 0, NULL }
+#define STRING_LIST_INIT_DUP   { NULL, 0, 0, 1, NULL }
 
 void print_string_list(const struct string_list *p, const char *text);
 void string_list_clear(struct string_list *list, int free_util);