Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
builtin-blame.c: remove unneeded memclr()
author
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Dec 2007 09:46:04 +0000
(
01:46
-0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 18 Dec 2007 09:46:04 +0000
(
01:46
-0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-blame.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
f2fdd10
)
diff --git
a/builtin-blame.c
b/builtin-blame.c
index 99ea0a02cb39bb72b39f147e75a2aa3850bfe3d2..d98caaf2171a9e91c44f47a8519446546b3b02b8 100644
(file)
--- a/
builtin-blame.c
+++ b/
builtin-blame.c
@@
-125,7
+125,6
@@
static void origin_decref(struct origin *o)
if (o && --o->refcnt <= 0) {
if (o->file.ptr)
free(o->file.ptr);
- memset(o, 0, sizeof(*o));
free(o);
}
}