Source-Changes-HG archive

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

[src/trunk]: src/sys/net delint previous



details:   https://anonhg.NetBSD.org/src/rev/d6f09cbcdbd5
branches:  trunk
changeset: 755010:d6f09cbcdbd5
user:      christos <christos%NetBSD.org@localhost>
date:      Wed May 19 20:43:51 2010 +0000

description:
delint previous

diffstat:

 sys/net/if_ethersubr.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 2bbc86831670 -r d6f09cbcdbd5 sys/net/if_ethersubr.c
--- a/sys/net/if_ethersubr.c    Wed May 19 20:41:59 2010 +0000
+++ b/sys/net/if_ethersubr.c    Wed May 19 20:43:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ethersubr.c,v 1.180 2010/05/19 20:41:59 christos Exp $      */
+/*     $NetBSD: if_ethersubr.c,v 1.181 2010/05/19 20:43:51 christos Exp $      */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.180 2010/05/19 20:41:59 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.181 2010/05/19 20:43:51 christos Exp $");
 
 #include "opt_inet.h"
 #include "opt_atalk.h"
@@ -1226,7 +1226,6 @@
 int
 ether_aton_r(u_char *dest, size_t len, const char *str)
 {
-        int i;
         const u_char *cp = (const void *)str;
        u_char *ep;
 
@@ -1247,7 +1246,7 @@
                        dest++;
                        cp++;
                 } else
-                       *dest++;
+                       dest++;
                if (dest == ep)
                        return *cp == '\0' ? 0 : ENAMETOOLONG;
                switch (*cp) {



Home | Main Index | Thread Index | Old Index