summaryrefslogtreecommitdiffstats
path: root/src/egl/main/egllog.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-05-04 19:31:12 +0100
committerEmil Velikov <[email protected]>2017-05-08 15:33:56 +0100
commit8d6f92313d8077bcff193a30486b875d93cdf5d5 (patch)
treeed46b1efa1cb102c6ca5e4efdcad89ef19b36206 /src/egl/main/egllog.c
parent1dd038e98846b1fe77cb61ed2f39bd7d1fea0fb3 (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]>
Diffstat (limited to 'src/egl/main/egllog.c')
-rw-r--r--src/egl/main/egllog.c3
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;