Skip to content

Commit

Permalink
2007-12-17 Roland McGrath <roland@redhat.com>
Browse files Browse the repository at this point in the history
	* inet/ether_line.c (ether_line): Remove unused variable.
  • Loading branch information
Roland McGrath committed Dec 17, 2007
1 parent 4cd4c5d commit e429763
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions inet/ether_line.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e429763

Please sign in to comment.