win: initialize the internal variable. fixed uninitialized pointer read.

This fixes coverity CID 1230297.
This commit is contained in:
Daniel Juyung Seo 2014-08-06 09:01:26 +09:00
parent 3b9ecf8c80
commit 95b7382d20
1 changed files with 1 additions and 1 deletions

View File

@ -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;