kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warning in rigswr.c
rodzic
e37b9d9a8b
commit
0fd7278682
|
@ -369,15 +369,15 @@ void usage()
|
||||||
|
|
||||||
int set_conf(RIG *rig, char *conf_parms)
|
int set_conf(RIG *rig, char *conf_parms)
|
||||||
{
|
{
|
||||||
char *p, *q, *n;
|
char *p, *n;
|
||||||
int ret;
|
|
||||||
|
|
||||||
p = conf_parms;
|
p = conf_parms;
|
||||||
|
|
||||||
while (p && *p != '\0')
|
while (p && *p != '\0')
|
||||||
{
|
{
|
||||||
|
int ret;
|
||||||
/* FIXME: left hand value of = cannot be null */
|
/* FIXME: left hand value of = cannot be null */
|
||||||
q = strchr(p, '=');
|
char *q = strchr(p, '=');
|
||||||
|
|
||||||
if (!q)
|
if (!q)
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue