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