projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20b1d70
)
Remove useless pointer update
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>
tar-tree.c
patch
|
blob
|
history
diff --git
a/tar-tree.c
b/tar-tree.c
index
705b8fa
..
bd289a9
100644
(file)
--- a/
tar-tree.c
+++ b/
tar-tree.c
@@
-94,7
+94,6
@@
static void write_blocked(void *buf, unsigned long size)
}
if (size) {
memcpy(block + offset, buf, size);
- buf += size;
offset += size;
}
tail = offset % RECORDSIZE;