git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
20b1d70
)
Remove useless pointer update
author
Rene Scharfe
<redacted>
Sun, 2 Apr 2006 11:12:47 +0000
(13:12 +0200)
committer
Junio C Hamano
<redacted>
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
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
@@
-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;
git clone https://git.99rst.org/PROJECT