forked from enlightenment/efl
elm_config.c: Check null for profile. I can be null.
This fixes coverity CID 1040032.
This commit is contained in:
parent
4c8d03894c
commit
822671c7e7
|
@ -2584,6 +2584,8 @@ elm_config_indicator_service_get(int rotation)
|
|||
void
|
||||
_elm_config_profile_set(const char *profile)
|
||||
{
|
||||
if (!profile) return;
|
||||
|
||||
if (_elm_profile)
|
||||
{
|
||||
if (!strcmp(_elm_profile, profile))
|
||||
|
|
Loading…
Reference in New Issue