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:
+1
-5
@@ -190,7 +190,7 @@ int main(int argc, char **argv)
|
||||
const int canfd_on = 1;
|
||||
int nbytes, i, j, maxdlen;
|
||||
struct ifreq ifr;
|
||||
struct timeval tv, last_tv;
|
||||
struct timeval tv;
|
||||
int port = DEFPORT;
|
||||
struct sockaddr_in inaddr;
|
||||
struct sockaddr_in clientaddr;
|
||||
@@ -208,10 +208,6 @@ int main(int argc, char **argv)
|
||||
sigaction(SIGTERM, &signalaction, NULL); /* install Signal for termination */
|
||||
sigaction(SIGINT, &signalaction, NULL); /* install Signal for termination */
|
||||
|
||||
|
||||
last_tv.tv_sec = 0;
|
||||
last_tv.tv_usec = 0;
|
||||
|
||||
while ((opt = getopt(argc, argv, "m:v:i:e:p:?")) != -1) {
|
||||
|
||||
switch (opt) {
|
||||
|
||||
Reference in New Issue
Block a user