diff options
author | yosin@chromium.org <yosin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 02:18:27 +0000 |
---|---|---|
committer | yosin@chromium.org <yosin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 02:18:27 +0000 |
commit | e18b67c61bd6b7786ff7afc633a37725d449d846 (patch) | |
tree | b6a1177df6e611dce42891af0878cf56dae7a774 /chrome/nacl | |
parent | 5583c05c85f7015c08df30152ed064c7a71bcbe9 (diff) | |
download | chromium_src-e18b67c61bd6b7786ff7afc633a37725d449d846.zip chromium_src-e18b67c61bd6b7786ff7afc633a37725d449d846.tar.gz chromium_src-e18b67c61bd6b7786ff7afc633a37725d449d846.tar.bz2 |
This patch fixes following compilation introduced by r202702 on VS2012
d:\src\w\crbk\src\chrome\nacl\nacl_listener.cc(149) : error C2220: warning treated as error - no 'object' file generated
d:\src\w\crbk\src\chrome\nacl\nacl_listener.cc(149) : warning C4703: potentially uninitialized local pointer variable 'ipc_fd' used
NOTRY=true
TBR=ncbray@chromium.org
BUG=n/a
Review URL: https://codereview.chromium.org/16107003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202745 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl')
-rw-r--r-- | chrome/nacl/nacl_listener.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/nacl/nacl_listener.cc b/chrome/nacl/nacl_listener.cc index d70ecd1..e771496 100644 --- a/chrome/nacl/nacl_listener.cc +++ b/chrome/nacl/nacl_listener.cc @@ -138,7 +138,7 @@ class BrowserValidationDBProxy : public NaClValidationDB { if (file_token->lo == 0 && file_token->hi == 0) { return false; } - IPC::PlatformFileForTransit ipc_fd; + IPC::PlatformFileForTransit ipc_fd = IPC::InvalidPlatformFileForTransit(); base::FilePath ipc_path; if (!listener_->Send(new NaClProcessMsg_ResolveFileToken(file_token->lo, file_token->hi, |