From ddc8ff0c65dae97cb36854f228cd41f886fd8234 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Thu, 19 Dec 2019 08:39:07 -0600 Subject: [PATCH] Fix cppcheck warnings in prosistel.c --- prosistel/prosistel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prosistel/prosistel.c b/prosistel/prosistel.c index e4e803297..c715ff7f0 100644 --- a/prosistel/prosistel.c +++ b/prosistel/prosistel.c @@ -49,7 +49,6 @@ struct prosistel_rot_priv_data azimuth_t az; elevation_t el; - struct timeval tv; /* time last az/el update */ azimuth_t target_az; elevation_t target_el; }; @@ -125,7 +124,7 @@ transaction_write: data[3]); retval = RIG_OK; } - else + else if (cmdstr) { rig_debug(RIG_DEBUG_VERBOSE, "%s Error Command issued: %c doesn't match reply %c\n", __func__, cmdstr[2],