Do not use C++-style comments
Detected by "gcc -std=iso9899:1990 ...". This patch applies against "maint". Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Michael Haggerty committed
Aug 22, 2011 at 12:33 UTC
885b797a4abe1fdfe7c4273caa34207d6e5e4760
1 file changed
+1
-1
notes.c
+1
-1
@@ -1105,7 +1105,7 @@ int remove_note(struct notes_tree *t, const unsigned char *object_sha1)
1105
hashcpy(l.key_sha1, object_sha1);
1106
hashclr(l.val_sha1);
1107
note_tree_remove(t, t->root, 0, &l);
1108
- if (is_null_sha1(l.val_sha1)) // no note was removed
1108
+ if (is_null_sha1(l.val_sha1)) /* no note was removed */
1109
return 1;
1110
t->dirty = 1;
1111
return 0;