summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-05 03:30:35 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-05 03:30:35 +0000
commit9561ea774cff1ee6542d699d09099423d5c518be (patch)
treef2160d6c05f1f79be589add91d00453252de5bda /gpu/command_buffer
parent4049046a39cb364577a1ac8a2aac47a86afc5b7b (diff)
downloadchromium_src-9561ea774cff1ee6542d699d09099423d5c518be.zip
chromium_src-9561ea774cff1ee6542d699d09099423d5c518be.tar.gz
chromium_src-9561ea774cff1ee6542d699d09099423d5c518be.tar.bz2
linux: fix uninitialized variable
TBR=apatrick Review URL: http://codereview.chromium.org/521027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 72f2785..8b1fcf5 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -982,7 +982,7 @@ parse_error::ParseError GLES2DecoderImpl::DoCommand(
unsigned int command,
unsigned int arg_count,
const void* cmd_data) {
- parse_error::ParseError result;
+ parse_error::ParseError result = parse_error::kParseNoError;
if (debug()) {
// TODO(gman): Change output to something useful for NaCl.
printf("cmd: %s\n", GetCommandName(command));