git: 1485ee74f810 - main - mkimg: Remove duplicate variable assignment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Oct 2026 20:48:35 UTC
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=1485ee74f81039cfdccd294440813a1a2badfc0b
commit 1485ee74f81039cfdccd294440813a1a2badfc0b
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-10-08 00:09:09 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-10-21 20:40:37 +0000
mkimg: Remove duplicate variable assignment
Fixes: 459a61fd2d0a ("Add the ability to specify absolute and relative offsets to size partitions.")
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D60452
---
usr.bin/mkimg/mkimg.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/usr.bin/mkimg/mkimg.c b/usr.bin/mkimg/mkimg.c
index a1881b114b7f..d8f872b72261 100644
--- a/usr.bin/mkimg/mkimg.c
+++ b/usr.bin/mkimg/mkimg.c
@@ -464,7 +464,6 @@ mkimg(void)
}
block = scheme_metadata(SCHEME_META_IMG_START, 0);
- abs_offset = false;
TAILQ_FOREACH(part, &partlist, link) {
byteoffset = blkoffset = 0;
abs_offset = false;