fast-import: Fix an gcc -Wuninitialized warning
[gitweb.git] / wt-status.h
index f8fc58cc0ac8ec73d81fba441b1899b934eaadb4..81e1dcf84dbfbea76657d3b4c65e3e63890396e9 100644 (file)
@@ -79,6 +79,8 @@ struct wt_status_state {
        int rebase_interactive_in_progress;
        int cherry_pick_in_progress;
        int bisect_in_progress;
+       const char *branch;
+       const char *onto;
 };
 
 void wt_status_prepare(struct wt_status *s);
@@ -92,7 +94,5 @@ void status_printf_ln(struct wt_status *s, const char *color, const char *fmt, .
        ;
 void status_printf(struct wt_status *s, const char *color, const char *fmt, ...)
        ;
-void status_printf_more(struct wt_status *s, const char *color, const char *fmt, ...)
-       __attribute__((format(printf, 3, 4)));
 
 #endif /* STATUS_H */