kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warning in alinco.c
rodzic
21c0dd092e
commit
893524ea03
|
@ -138,7 +138,7 @@ int alinco_transaction(RIG *rig,
|
|||
}
|
||||
|
||||
/* no data expected, check for OK returned */
|
||||
if (!data || !data_len)
|
||||
if (data_len == 0)
|
||||
{
|
||||
retval = read_string(&rs->rigport, echobuf, BUFSZ, LF, strlen(LF));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue