X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Fnotes.c;h=26617546c8cadac493f06473d02f27f320713b28;hb=318d4013461dbd6fc6bbd05983fc4a9fd5465769;hp=52b72fca687d42dc09d1d79a8e76584a55c0c546;hpb=ddd02b70f0d80fc3cac6b2f2c42005560d572413;p=git.git diff --git a/builtin/notes.c b/builtin/notes.c index 52b72fca6..26617546c 100644 --- a/builtin/notes.c +++ b/builtin/notes.c @@ -416,7 +416,7 @@ int notes_copy_from_stdin(int force, const char *rewrite_cmd) { struct strbuf buf = STRBUF_INIT; struct notes_rewrite_cfg *c = NULL; - struct notes_tree *t; + struct notes_tree *t = NULL; int ret = 0; if (rewrite_cmd) {