From: Rene Scharfe Date: Sun, 2 Apr 2006 11:12:47 +0000 (+0200) Subject: Remove useless pointer update X-Git-Tag: v1.3.0-rc2~13 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=139faba8f5c86a960c893f92e25afd4caa79c2fb;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/tar-tree.c b/tar-tree.c index 705b8fa1..bd289a98 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;