diff options
author | Emil Velikov <[email protected]> | 2017-05-04 19:31:12 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-05-08 15:33:56 +0100 |
commit | 8d6f92313d8077bcff193a30486b875d93cdf5d5 (patch) | |
tree | ed46b1efa1cb102c6ca5e4efdcad89ef19b36206 | |
parent | 1dd038e98846b1fe77cb61ed2f39bd7d1fea0fb3 (diff) |
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 <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Chad Versace <[email protected]>
-rw-r--r-- | src/egl/main/egllog.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |