Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc |
index a858cf7b59c38492daf090daf0e776fbeb23bfe5..fd28f758259588a325f495f63dec73cc72272189 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_attribs.cc |
@@ -54,8 +54,7 @@ namespace gles2 { |
using namespace cmds; |
TEST_P(GLES2DecoderWithShaderTest, GetVertexAttribPointervSucceeds) { |
- const float dummy = 0; |
- const GLuint kOffsetToTestFor = sizeof(dummy) * 4; |
+ const GLuint kOffsetToTestFor = sizeof(float) * 4; |
const GLuint kIndexToTest = 1; |
GetVertexAttribPointerv::Result* result = |
static_cast<GetVertexAttribPointerv::Result*>(shared_memory_address_); |