Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amiga/stand/bootblock/elf2bb Remove some unused var...
details: https://anonhg.NetBSD.org/src/rev/928f95fcebf9
branches: trunk
changeset: 1021229:928f95fcebf9
user: dholland <dholland%NetBSD.org@localhost>
date: Tue May 18 20:34:20 2021 +0000
description:
Remove some unused variables, found by gcc -Wall.
diffstat:
sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 0ac7aabb4742 -r 928f95fcebf9 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
--- a/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c Tue May 18 20:32:18 2021 +0000
+++ b/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c Tue May 18 20:34:20 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: elf2bb.c,v 1.19 2021/05/18 20:32:18 dholland Exp $ */
+/* $NetBSD: elf2bb.c,v 1.20 2021/05/18 20:34:20 dholland Exp $ */
/*-
* Copyright (c) 1996,2006 The NetBSD Foundation, Inc.
@@ -92,7 +92,6 @@
main(int argc, char *argv[])
{
int ifd, ofd;
- u_int mid, flags, magic;
void *image;
Elf32_Ehdr *eh;
Elf32_Shdr *sh;
@@ -104,7 +103,7 @@
int i, l, delta;
u_int8_t *rpo;
u_int32_t oldaddr, addrdiff;
- u_int32_t tsz, dsz, bsz, trsz, drsz, entry, relver;
+ u_int32_t tsz, dsz, bsz, trsz, relver;
u_int32_t pcrelsz, r32sz;
int sumsize = 16;
int c;
Home |
Main Index |
Thread Index |
Old Index