Code

Merge 'maint' updates in
[git.git] / builtin / notes.c
index ba8fd178c8d188095e944c6a030d807d2b9f8312..648033c27e75e9a19e9fd3a2fa21b2e26b19d5ac 100644 (file)
@@ -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) {