Commit e1c4d39a by Geoff Lang

Fix unused variable warnings.

BUG=angleproject:1442 Change-Id: I07b32d4c1f1a95f136bf922e78053e0de41c1633 Reviewed-on: https://chromium-review.googlesource.com/366083Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent fbcd96db
...@@ -1545,6 +1545,7 @@ void Context::getIntegeri_v(GLenum target, GLuint index, GLint *data) ...@@ -1545,6 +1545,7 @@ void Context::getIntegeri_v(GLenum target, GLuint index, GLint *data)
GLenum nativeType; GLenum nativeType;
unsigned int numParams; unsigned int numParams;
bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams); bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams);
UNUSED_ASSERTION_VARIABLE(queryStatus);
ASSERT(queryStatus); ASSERT(queryStatus);
if (nativeType == GL_INT) if (nativeType == GL_INT)
...@@ -1577,6 +1578,7 @@ void Context::getInteger64i_v(GLenum target, GLuint index, GLint64 *data) ...@@ -1577,6 +1578,7 @@ void Context::getInteger64i_v(GLenum target, GLuint index, GLint64 *data)
GLenum nativeType; GLenum nativeType;
unsigned int numParams; unsigned int numParams;
bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams); bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams);
UNUSED_ASSERTION_VARIABLE(queryStatus);
ASSERT(queryStatus); ASSERT(queryStatus);
if (nativeType == GL_INT_64_ANGLEX) if (nativeType == GL_INT_64_ANGLEX)
...@@ -1597,6 +1599,7 @@ void Context::getBooleani_v(GLenum target, GLuint index, GLboolean *data) ...@@ -1597,6 +1599,7 @@ void Context::getBooleani_v(GLenum target, GLuint index, GLboolean *data)
GLenum nativeType; GLenum nativeType;
unsigned int numParams; unsigned int numParams;
bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams); bool queryStatus = getIndexedQueryParameterInfo(target, &nativeType, &numParams);
UNUSED_ASSERTION_VARIABLE(queryStatus);
ASSERT(queryStatus); ASSERT(queryStatus);
if (nativeType == GL_BOOL) if (nativeType == GL_BOOL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment