Skip to content

Commit 885b797

Browse files
mhaggergitster
authored andcommitted
Do not use C++-style comments
Detected by "gcc -std=iso9899:1990 ...". This patch applies against "maint". Signed-off-by: Michael Haggerty <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ec09954 commit 885b797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ int remove_note(struct notes_tree *t, const unsigned char *object_sha1)
11051105
hashcpy(l.key_sha1, object_sha1);
11061106
hashclr(l.val_sha1);
11071107
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 */
11091109
return 1;
11101110
t->dirty = 1;
11111111
return 0;

0 commit comments

Comments
 (0)