diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-12-18 01:46:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-18 01:46:04 -0800 |
commit | 4808ab8f87551967d61fc4f4164e2f99e2fa4d71 (patch) | |
tree | ef4e855fc3bb910683de7dbaefe48b4204b92334 /builtin-blame.c | |
parent | f2fdd10ab76feb0e141fc3f9cf4e5efd87f7fcdf (diff) | |
download | git-4808ab8f87551967d61fc4f4164e2f99e2fa4d71.tar.gz |
builtin-blame.c: remove unneeded memclr()
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-blame.c')
-rw-r--r-- | builtin-blame.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-blame.c b/builtin-blame.c index 99ea0a02cb..d98caaf217 100644 --- 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); } } |