diff --git a/builtin/notes.c b/builtin/notes.c
index ba8fd178c8d188095e944c6a030d807d2b9f8312..648033c27e75e9a19e9fd3a2fa21b2e26b19d5ac 100644 (file)
--- a/builtin/notes.c
+++ b/builtin/notes.c
{
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) {