]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2007-12-17 Roland McGrath <roland@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 17 Dec 2007 21:22:02 +0000 (21:22 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 17 Dec 2007 21:22:02 +0000 (21:22 +0000)
* inet/ether_line.c (ether_line): Remove unused variable.

inet/ether_line.c

index 13c5f394cfc2e1ecd7312358e0f219fbc45c1ba7..21a4c556792b3fc5d5f2265d3d77fbe9bb63ac88 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1999, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1999,2002,2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
 int
 ether_line (const char *line, struct ether_addr *addr, char *hostname)
 {
-  size_t cnt;
-  char *cp;
-
-  for (cnt = 0; cnt < 6; ++cnt)
+  for (size_t cnt = 0; cnt < 6; ++cnt)
     {
       unsigned int number;
       char ch;