From 9e2e71b60d2868054a2716db048b1ae4ebf67375 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Mon, 13 Jan 2020 15:23:01 -0600 Subject: [PATCH] Fix cppcheck warning in thd74.c --- kenwood/thd74.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kenwood/thd74.c b/kenwood/thd74.c index 37b398bc5..d4f1151df 100644 --- a/kenwood/thd74.c +++ b/kenwood/thd74.c @@ -274,7 +274,7 @@ static int thd74_get_freq_info(RIG *rig, vfo_t vfo, char *buf) sprintf(cmd, "FO %c", c); retval = kenwood_transaction(rig, cmd, buf, 73); - return RIG_OK; + return retval; } /* item is an offset into reply buf that is a single char */