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/92e2673308f9
branches:  trunk
changeset: 344071:92e2673308f9
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 ba1d5061026e -r 92e2673308f9 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