Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2443)

Unified Diff: ppapi/proxy/ppb_var_deprecated_proxy.cc

Issue 9006028: Coverity fixes for uninitialized vars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added missing braces Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/plugin_var_tracker.cc ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: 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 6d6d1ace93195e254db1ec9eaed6c6e18fe179e3..2637a0235a0669047e504b7df947bc60f1e56808 100644
--- a/ppapi/proxy/ppb_var_deprecated_proxy.cc
+++ b/ppapi/proxy/ppb_var_deprecated_proxy.cc
@@ -503,8 +503,7 @@ void PPB_Var_Deprecated_Proxy::SetAllowPluginReentrancy() {
}
void PPB_Var_Deprecated_Proxy::DoReleaseObject(int64 object_id) {
- PP_Var var;
- var.type = PP_VARTYPE_OBJECT;
+ PP_Var var = { PP_VARTYPE_OBJECT };
var.value.as_id = object_id;
ppb_var_impl_->Release(var);
}
« no previous file with comments | « ppapi/proxy/plugin_var_tracker.cc ('k') | ui/base/win/events_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698