author | Linus Torvalds <torvalds@osdl.org> | |
Wed, 14 Sep 2005 20:41:24 +0000 (13:41 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 14 Sep 2005 20:57:34 +0000 (13:57 -0700) | ||
commit | 705a7148ba1bb9597b1837b7f64a0dcb67f1ad0c | |
tree | cd8f4b0ba024c434e5e76ef7168f9c4342247bd5 | tree | snapshot |
parent | c80522e30fdc190f8c8c7fc983bbe040a1b03e93 | commit | diff |
[PATCH] Fix alloc_filespec() initialization
This simplifies and fixes the initialization of a "diff_filespec" when
allocated.
The old code would not initialize "sha1_valid". Noticed by valgrind.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This simplifies and fixes the initialization of a "diff_filespec" when
allocated.
The old code would not initialize "sha1_valid". Noticed by valgrind.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history |