mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 18:37:18 +00:00
Fix cppcheck warning in gs232b.c
This commit is contained in:
parent
0782cdf5c3
commit
7bed7423f5
@ -143,7 +143,7 @@ transaction_write:
|
||||
// If asked for we will check for connection
|
||||
// we don't expect a reply...just a prompt return
|
||||
// Seems some GS232B's only echo the CR
|
||||
if (no_reply && (strncmp(data, "?>", 2) != 0) && data[0] != 0x0d)
|
||||
if ((strncmp(data, "?>", 2) != 0) && data[0] != 0x0d)
|
||||
{
|
||||
rig_debug(RIG_DEBUG_VERBOSE,
|
||||
"%s: Expected '?>' but got '%s' from cmd '%s'\n",
|
||||
|
Loading…
Reference in New Issue
Block a user