summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhaowei Yuan <zhaowei.yuan@samsung.com>2019-11-12 14:56:00 +0800
committerZhaowei Yuan <zhaowei.yuan@samsung.com>2019-11-12 14:56:00 +0800
commitf31f67e148718bb32635e085278f44430f2c38aa (patch)
tree3ee21d752b35753ec24ac8938f2ff1f06c517d78
parent50839c47736cbab7db6a9fb25ea0d983434c56cc (diff)
downloadmesa-f31f67e148718bb32635e085278f44430f2c38aa.tar.gz
mesa-f31f67e148718bb32635e085278f44430f2c38aa.tar.bz2
mesa-f31f67e148718bb32635e085278f44430f2c38aa.zip
Local variables msg and ret will not be used when platform is Tizen which causesd a build warning, fix it. Change-Id: Ie32fa1470cab6604e8dfdc2f8fcbf76e4a744b2c Signed-off-by: Zhaowei Yuan <zhaowei.yuan@samsung.com>
-rw-r--r--src/egl/main/egllog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c
index b7c11657b01..00340e940cd 100644
--- a/src/egl/main/egllog.c
+++ b/src/egl/main/egllog.c
@@ -148,8 +148,10 @@ void
_eglLog(EGLint level, const char *fmtStr, ...)
{
va_list args;
+#ifndef HAVE_TIZEN_PLATFORM
char msg[MAXSTRING];
int ret;
+#endif
/* one-time initialization; a little race here is fine */
if (!logging.initialized)