gpu_tonemapper:Fix uninitialized variables.
Change-Id: I9cc15c326ff250acffb681f44aa50bf1a2dce741
CRs-Fixed: 1116798
diff --git a/gpu_tonemapper/glengine.cpp b/gpu_tonemapper/glengine.cpp
index e5c8e68..2351d56 100644
--- a/gpu_tonemapper/glengine.cpp
+++ b/gpu_tonemapper/glengine.cpp
@@ -158,7 +158,7 @@
void dumpShaderLog(int shader)
//-----------------------------------------------------------------------------
{
- int success;
+ int success = 0;
GLchar infoLog[512];
GL(glGetShaderiv(shader, GL_COMPILE_STATUS, &success));
if (!success) {