From: Roland McGrath Date: Mon, 17 Dec 2007 21:22:02 +0000 (+0000) Subject: 2007-12-17 Roland McGrath X-Git-Tag: cvs/fedora-glibc-20071227T0908~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e42976314d641cb26e87f6fb994b21f2c68437a8;p=thirdparty%2Fglibc.git 2007-12-17 Roland McGrath * inet/ether_line.c (ether_line): Remove unused variable. --- diff --git a/inet/ether_line.c b/inet/ether_line.c index 13c5f394cfc..21a4c556792 100644 --- a/inet/ether_line.c +++ b/inet/ether_line.c @@ -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 @@ -26,10 +26,7 @@ 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;