From 0cf986fdacf68aa07f1edbd907d5d1b336950c22 Mon Sep 17 00:00:00 2001 From: "finnur@chromium.org" Date: Mon, 28 Mar 2011 10:45:01 +0000 Subject: 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 --- ppapi/proxy/ppb_var_deprecated_proxy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ppapi/proxy/ppb_var_deprecated_proxy.cc') 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); -- cgit v1.1