diff options
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | 2006-04-02 13:12:47 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-02 12:58:45 -0700 |
commit | 139faba8f5c86a960c893f92e25afd4caa79c2fb (patch) | |
tree | ca59d38e355e1bf6aa543cdb8090d6e4201d1e57 /tar-tree.c | |
parent | 20b1d700c94c8b5b2b8b6f1b4982858d03cd9453 (diff) | |
download | git-139faba8f5c86a960c893f92e25afd4caa79c2fb.tar.gz git-139faba8f5c86a960c893f92e25afd4caa79c2fb.tar.xz |
Remove useless pointer update
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>
Diffstat (limited to 'tar-tree.c')
-rw-r--r-- | tar-tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tar-tree.c b/tar-tree.c index 705b8fa1c..bd289a98f 100644 --- 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; |