index 6ee04e79e903901db3594feae69ceca4374994e2..30d6ded78ef61cceeec9d0d0377e6622d6abd5f6 100644 (file)
--- a/notes.c
+++ b/notes.c
struct write_each_note_data *d)
{
struct non_note *n = d->next_non_note;
- int cmp, ret;
+ int cmp = 0, ret;
while (n && (!note_path || (cmp = strcmp(n->path, note_path)) <= 0)) {
if (note_path && cmp == 0)
; /* do nothing, prefer note to non-note */