summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c
index 0b286a77c..a1a47d989 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -643,7 +643,7 @@ int git_note_next(
int error;
const git_index_entry *item;
- if (error = git_iterator_current(it, &item) < 0)
+ if ((error = git_iterator_current(it, &item)) < 0)
goto exit;
if (item != NULL) {