1
0
mirror of https://github.com/git/git.git synced 2024-09-29 17:51:22 +02:00

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>
This commit is contained in:
Rene Scharfe 2006-04-02 13:12:47 +02:00 committed by Junio C Hamano
parent 20b1d700c9
commit 139faba8f5

@ -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;