Module Name:    src
Committed By:   christos
Date:           Wed May 19 20:43:51 UTC 2010

Modified Files:
        src/sys/net: if_ethersubr.c

Log Message:
delint previous


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/net/if_ethersubr.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/net/if_ethersubr.c
diff -u src/sys/net/if_ethersubr.c:1.180 src/sys/net/if_ethersubr.c:1.181
--- src/sys/net/if_ethersubr.c:1.180	Wed May 19 16:41:59 2010
+++ src/sys/net/if_ethersubr.c	Wed May 19 16:43:51 2010
@@ -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) {

Reply via email to