OSDN Git Service

drm_hwcomposer: fix a warning of unused variable q-x86 android-x86-9.0-r1 android-x86-9.0-r2
authorChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 26 Feb 2019 04:12:13 +0000 (12:12 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 26 Feb 2019 04:12:13 +0000 (12:12 +0800)
glworker.cpp

index d66613c..dbfa158 100644 (file)
@@ -442,7 +442,6 @@ GLWorkerCompositor::GLWorkerCompositor()
 }
 
 int GLWorkerCompositor::Init() {
-  int ret = 0;
   const char *egl_extensions;
   const char *gl_extensions;
   EGLint num_configs;