Module Name: src Committed By: dholland Date: Sat Mar 12 02:17:05 UTC 2016
Modified Files: src/sys/arch/atari/stand/tostools/file2swp: file2swp.c Log Message: Remove unused variable, found by gcc. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 \ src/sys/arch/atari/stand/tostools/file2swp/file2swp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/atari/stand/tostools/file2swp/file2swp.c diff -u src/sys/arch/atari/stand/tostools/file2swp/file2swp.c:1.8 src/sys/arch/atari/stand/tostools/file2swp/file2swp.c:1.9 --- src/sys/arch/atari/stand/tostools/file2swp/file2swp.c:1.8 Sat Mar 12 02:15:50 2016 +++ src/sys/arch/atari/stand/tostools/file2swp/file2swp.c Sat Mar 12 02:17:05 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: file2swp.c,v 1.8 2016/03/12 02:15:50 dholland Exp $ */ +/* $NetBSD: file2swp.c,v 1.9 2016/03/12 02:17:05 dholland Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ #include "cread.h" char *Infile = "minifs.gz"; -const char version[] = "$Revision: 1.8 $"; +const char version[] = "$Revision: 1.9 $"; extern const char *program_name; @@ -76,12 +76,12 @@ main(int argc, char **argv) extern char *optarg; disk_t *dd; - int rv, c, i, fd; + int rv, c, fd; u_int32_t currblk; u_int32_t start, end; char buf[AHDI_BSIZE]; - i = rv = 0; + rv = 0; init_toslib(*argv); while ((c = getopt(argc, argv, "Vf:ho:w")) != -1) {