From 726c16d9839cef505ed062640e2769cd7924f201 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Mon, 26 Jan 2009 15:19:43 +0000 Subject: flashrom: Fix one dead increment and one dead assignment as found by clang. Thanks Patrick! Signed-off-by: Peter Stuge Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3918 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/m29f002.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/flashrom/m29f002.c') diff --git a/util/flashrom/m29f002.c b/util/flashrom/m29f002.c index a8365873ea..8afef796ee 100644 --- a/util/flashrom/m29f002.c +++ b/util/flashrom/m29f002.c @@ -77,7 +77,7 @@ int write_m29f002t(struct flashchip *flash, uint8_t *buf) { do_block(bios, buf, i++, 0x30000, 32*1024); do_block(bios, buf, i++, 0x38000, 8*1024); do_block(bios, buf, i++, 0x3a000, 8*1024); - do_block(bios, buf, i++, 0x3c000, 16*1024); + do_block(bios, buf, i, 0x3c000, 16*1024); printf("\n"); return 0; -- cgit v1.2.3