summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec09954)
raw | patch | inline | side by side (parent: ec09954)
author | Michael Haggerty <mhagger@alum.mit.edu> | |
Mon, 22 Aug 2011 10:33:52 +0000 (12:33 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 22 Aug 2011 17:07:07 +0000 (10:07 -0700) |
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>
"maint".
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
notes.c | patch | blob | history |
index f6ce8489d31e48d30dfbc6aef4edf6dbb8314234..93e9868d5d1aa536b70e981d3a4cd3c7969764d3 100644 (file)
--- a/notes.c
+++ b/notes.c
hashcpy(l.key_sha1, object_sha1);
hashclr(l.val_sha1);
note_tree_remove(t, t->root, 0, &l);
- if (is_null_sha1(l.val_sha1)) // no note was removed
+ if (is_null_sha1(l.val_sha1)) /* no note was removed */
return 1;
t->dirty = 1;
return 0;