mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 16:09:52 +02:00
removed unused variable warnings by removing the variables
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
This commit is contained in:
+2
-2
@@ -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)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user