summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_var_deprecated_proxy.cc
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 10:45:01 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-28 10:45:01 +0000
commit0cf986fdacf68aa07f1edbd907d5d1b336950c22 (patch)
tree2ca577940ce466210e2cfe16270285a54a2f70ef /ppapi/proxy/ppb_var_deprecated_proxy.cc
parentff4968f34d58e12a60cc1cee2ef4d3a9692bf740 (diff)
downloadchromium_src-0cf986fdacf68aa07f1edbd907d5d1b336950c22.zip
chromium_src-0cf986fdacf68aa07f1edbd907d5d1b336950c22.tar.gz
chromium_src-0cf986fdacf68aa07f1edbd907d5d1b336950c22.tar.bz2
Initialize a few uninitialized member variables and structs in PPAPI.
BUG=None TEST=None CID=14043, 14386, 14232, 14230, 14112, 14111, 14110, 14109, 14108, 14231, 14042, 14187, 14664. Review URL: http://codereview.chromium.org/6676145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppb_var_deprecated_proxy.cc')
-rw-r--r--ppapi/proxy/ppb_var_deprecated_proxy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_var_deprecated_proxy.cc b/ppapi/proxy/ppb_var_deprecated_proxy.cc
index f1b7f8b..9571689 100644
--- a/ppapi/proxy/ppb_var_deprecated_proxy.cc
+++ b/ppapi/proxy/ppb_var_deprecated_proxy.cc
@@ -59,7 +59,7 @@ void ReleaseVar(PP_Var var) {
}
PP_Var VarFromUtf8(PP_Module module, const char* data, uint32_t len) {
- PP_Var ret;
+ PP_Var ret = {};
ret.type = PP_VARTYPE_STRING;
ret.value.as_id = PluginVarTracker::GetInstance()->MakeString(
data, len);