forked from enlightenment/efl
win: initialize the internal variable. fixed uninitialized pointer read.
This fixes coverity CID 1230297.
This commit is contained in:
parent
3b9ecf8c80
commit
95b7382d20
|
@ -2931,7 +2931,7 @@ static Eina_Bool
|
|||
_accel_is_gl(void)
|
||||
{
|
||||
const char *env = NULL;
|
||||
const char *str;
|
||||
const char *str = NULL;
|
||||
|
||||
if (_elm_config->accel) str = _elm_config->accel;
|
||||
if (_elm_accel_preference) str = _elm_accel_preference;
|
||||
|
|
Loading…
Reference in New Issue