]> git.ipfire.org Git - thirdparty/git.git/blobdiff - submodule.h
pack-objects: use BUG(...) not die("BUG: ...")
[thirdparty/git.git] / submodule.h
index 4578e501b8610b8a541f32a6a2590b63368900ce..6bd2c99fd99d409abd89771d511b3a7db5f47252 100644 (file)
@@ -37,7 +37,9 @@ struct submodule_update_strategy {
        enum submodule_update_type type;
        const char *command;
 };
-#define SUBMODULE_UPDATE_STRATEGY_INIT {SM_UPDATE_UNSPECIFIED, NULL}
+#define SUBMODULE_UPDATE_STRATEGY_INIT { \
+       .type = SM_UPDATE_UNSPECIFIED, \
+}
 
 int is_gitmodules_unmerged(struct index_state *istate);
 int is_writing_gitmodules_ok(void);