clean up a couple of compile warnings

(cherry picked from commit 8ecf7b15ba)
Hamlib-4.0
Michael Black W9MDB 2020-11-18 16:31:09 -06:00 zatwierdzone przez Nate Bargmann
rodzic 6174d9f951
commit b040b51603
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F72625E2EDBED598
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1488,7 +1488,7 @@ int adat_get_single_cmd_result(RIG *pRig)
pcPos = acBuf;
if ((nRC == RIG_OK))
if (nRC == RIG_OK)
{
int nBufLength = 0;

Wyświetl plik

@ -354,10 +354,10 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp)
/* TODO */
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d,0x%04x\n", __func__,
rp->parm.serial.rate, speed);
(int)rp->parm.serial.rate, (int)speed);
cfsetispeed(&options, speed);
rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d,0x%04x\n", __func__,
rp->parm.serial.rate, speed);
(int)rp->parm.serial.rate, (int)speed);
cfsetospeed(&options, speed);
/*