Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sequencer.h')
-rw-r--r--sequencer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sequencer.h b/sequencer.h
index b4d0305606..d8a1853b29 100644
--- a/sequencer.h
+++ b/sequencer.h
@@ -118,7 +118,9 @@ struct todo_list {
int done_nr, total_nr;
};
-#define TODO_LIST_INIT { STRBUF_INIT }
+#define TODO_LIST_INIT { \
+ .buf = STRBUF_INIT, \
+}
int todo_list_parse_insn_buffer(struct repository *r, char *buf,
struct todo_list *todo_list);