From e42976314d641cb26e87f6fb994b21f2c68437a8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 17 Dec 2007 21:22:02 +0000 Subject: [PATCH] 2007-12-17 Roland McGrath * inet/ether_line.c (ether_line): Remove unused variable. --- inet/ether_line.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/inet/ether_line.c b/inet/ether_line.c index 13c5f394cf..21a4c55679 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;