Fixed #4970 (false positive: conditionally initialized variable used in if-clause (git/notes.c))