From 8d6f92313d8077bcff193a30486b875d93cdf5d5 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 4 May 2017 19:31:12 +0100 Subject: egl: remove unneeded else statement in _eglInitLogger The variable level is already initialized to -1 which is already interpreted as FALLBACK_LOG_LEVEL. Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom Reviewed-by: Chad Versace --- src/egl/main/egllog.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c index 4423272de52..6f0c0cda6c3 100644 --- a/src/egl/main/egllog.c +++ b/src/egl/main/egllog.c @@ -136,9 +136,6 @@ _eglInitLogger(void) } } } - else { - level = FALLBACK_LOG_LEVEL; - } logging.level = (level >= 0) ? level : FALLBACK_LOG_LEVEL; logging.initialized = EGL_TRUE; -- cgit v1.2.3