Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/atari/stand/tostools/file2swp Remove unused variabl...



details:   https://anonhg.NetBSD.org/src/rev/9ccd1d3eb69a
branches:  trunk
changeset: 814213:9ccd1d3eb69a
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat Mar 12 02:17:05 2016 +0000

description:
Remove unused variable, found by gcc.

diffstat:

 sys/arch/atari/stand/tostools/file2swp/file2swp.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r 295034d25295 -r 9ccd1d3eb69a sys/arch/atari/stand/tostools/file2swp/file2swp.c
--- a/sys/arch/atari/stand/tostools/file2swp/file2swp.c Sat Mar 12 02:15:50 2016 +0000
+++ b/sys/arch/atari/stand/tostools/file2swp/file2swp.c Sat Mar 12 02:17:05 2016 +0000
@@ -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 @@
        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) {



Home | Main Index | Thread Index | Old Index