diff --git a/rigs/yaesu/ft600.c b/rigs/yaesu/ft600.c index a941d9b4b..007f3aecc 100644 --- a/rigs/yaesu/ft600.c +++ b/rigs/yaesu/ft600.c @@ -87,18 +87,18 @@ enum ft600_native_cmd_e */ typedef struct { - unsigned char band_no; +// unsigned char band_no; unsigned char freq[16]; - unsigned char mode; - unsigned char ctcss; - unsigned char dcs; - unsigned char flag1; - unsigned char flag2; - unsigned char clarifier[2]; - unsigned char not_used; - unsigned char step1; - unsigned char step2; - unsigned char filter; +// unsigned char mode; +// unsigned char ctcss; +// unsigned char dcs; +// unsigned char flag1; +// unsigned char flag2; +// unsigned char clarifier[2]; +// unsigned char not_used; +// unsigned char step1; +// unsigned char step2; +// unsigned char filter; // cppcheck-suppress * unsigned char stuffing[16]; diff --git a/rotators/satel/satel.c b/rotators/satel/satel.c index c0a846d1c..7d13c2b82 100644 --- a/rotators/satel/satel.c +++ b/rotators/satel/satel.c @@ -98,9 +98,9 @@ typedef struct satel_stat satel_stat_t; struct satel_stat { bool motion_enabled; - int mode; - time_t time; - int absolute; +// int mode; +// time_t time; +// int absolute; int az; int el; }; diff --git a/simulators/simft736.c b/simulators/simft736.c index 133b46c0d..49df48660 100644 --- a/simulators/simft736.c +++ b/simulators/simft736.c @@ -88,9 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices int main(int argc, char *argv[]) { unsigned char buf[256]; - unsigned char *pbuf; - int n; - again: int fd = openPort(argv[1]); diff --git a/simulators/simft817.c b/simulators/simft817.c index ee35af967..3688abe56 100644 --- a/simulators/simft817.c +++ b/simulators/simft817.c @@ -88,7 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices int main(int argc, char *argv[]) { unsigned char buf[256]; - unsigned char *pbuf; int n; diff --git a/simulators/simft847.c b/simulators/simft847.c index 4551727a9..577b76ef6 100644 --- a/simulators/simft847.c +++ b/simulators/simft847.c @@ -88,7 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices int main(int argc, char *argv[]) { unsigned char buf[256]; - unsigned char *pbuf; int n; diff --git a/simulators/simft897.c b/simulators/simft897.c index 4551727a9..577b76ef6 100644 --- a/simulators/simft897.c +++ b/simulators/simft897.c @@ -88,7 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices int main(int argc, char *argv[]) { unsigned char buf[256]; - unsigned char *pbuf; int n; diff --git a/simulators/simft990.c b/simulators/simft990.c index 83450efe2..49341a0f3 100644 --- a/simulators/simft990.c +++ b/simulators/simft990.c @@ -145,8 +145,6 @@ int openPort(char *comport) // doesn't matter for using pts devices int main(int argc, char *argv[]) { char buf[256]; - char *pbuf; - int n; int fd = openPort(argv[1]); load_dat("simft990.dat", alldata); diff --git a/simulators/simic7200.c b/simulators/simic7200.c index 06205039c..8fcc33e4b 100644 --- a/simulators/simic7200.c +++ b/simulators/simic7200.c @@ -71,7 +71,7 @@ void dumphex(unsigned char *buf, int n) int frameGet(int fd, unsigned char *buf) { - int i = 0, n; + int i = 0; memset(buf, 0, BUFSIZE); unsigned char c; diff --git a/simulators/simjupiter.c b/simulators/simjupiter.c index dcf1bcabd..f4db185ac 100644 --- a/simulators/simjupiter.c +++ b/simulators/simjupiter.c @@ -88,9 +88,6 @@ int openPort(char *comport) // doesn't matter for using pts devices int main(int argc, char *argv[]) { unsigned char buf[256]; - unsigned char *pbuf; - int n; - again: int fd = openPort(argv[1]); diff --git a/src/cm108.c b/src/cm108.c index 50587cad9..120a6ab23 100644 --- a/src/cm108.c +++ b/src/cm108.c @@ -295,8 +295,6 @@ int cm108_ptt_get(hamlib_port_t *p, ptt_t *pttx) */ int cm108_dcd_get(hamlib_port_t *p, dcd_t *dcdx) { - int bytes; - rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__); return RIG_OK;