summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20b1d70)
raw | patch | inline | side by side (parent: 20b1d70)
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Sun, 2 Apr 2006 11:12:47 +0000 (13:12 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 2 Apr 2006 19:58:45 +0000 (12:58 -0700) |
buf is not used afterwards. The compiler optimized the dead store out
anyway, but let's clean the source, too.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
anyway, but let's clean the source, too.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
tar-tree.c | patch | blob | history |
diff --git a/tar-tree.c b/tar-tree.c
index 705b8fa1c76dc665333f180278dca929e2a971f7..bd289a98f80d4a6869f3d7345bd53f16a43682bd 100644 (file)
--- a/tar-tree.c
+++ b/tar-tree.c
}
if (size) {
memcpy(block + offset, buf, size);
- buf += size;
offset += size;
}
tail = offset % RECORDSIZE;