bz5 mod - fix coverity warning about scanf
while this will never be a problem as its internal messages that are well formatted... this does make coverity happy fix CID 1425458
This commit is contained in:
parent
21ec506dfd
commit
8bf18495f4
|
@ -290,7 +290,8 @@ _cb_rfkill_unblock(void *datam EINA_UNUSED, const char *params)
|
|||
{
|
||||
int ret_code = 0;
|
||||
|
||||
sscanf(params, "%i %*s", &ret_code);
|
||||
if (sscanf(params, "%i %*s", &ret_code) != 1) return;
|
||||
|
||||
if (ret_code == 0) return;
|
||||
|
||||
e_util_dialog_show
|
||||
|
|
Loading…
Reference in New Issue