Fix cppcheck warnings in elad.c

This commit is contained in:
Michael Black 2019-12-18 22:35:39 -06:00
parent eec16fa625
commit c339dfdbe4
No known key found for this signature in database
GPG key ID: 6599353EC683404D

View file

@ -2028,7 +2028,7 @@ int get_elad_level(RIG *rig, const char *cmd, float *f)
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
if ( !cmd || !f)
if ( !f )
{
return -RIG_EINVAL;
}