removed unused variable warnings by removing the variables

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
Oliver Hartkopp
2012-11-14 20:43:55 +01:00
parent f123d73d9a
commit 589fa16c27
4 changed files with 8 additions and 13 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ int main(int argc, char **argv)
fd_set readfds;
int i, ret;
int i;
int nbytes;
int local_port = 0;
@@ -322,7 +322,7 @@ int main(int argc, char **argv)
FD_SET(sc, &readfds);
FD_SET(sa, &readfds);
ret = select((sc > sa)?sc+1:sa+1, &readfds, NULL, NULL, NULL);
select((sc > sa)?sc+1:sa+1, &readfds, NULL, NULL, NULL);
if (FD_ISSET(sc, &readfds)) {