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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc

Issue 9307114: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 8 years, 10 months 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 | « net/spdy/buffered_spdy_framer.cc ('k') | ppapi/native_client/src/trusted/plugin/module_ppapi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc b/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
index b3af5904e0b3cf29cedf77fbc317e9e465eb8d41..b3aad7e15e04201ea9d89eb01d4a94b42f30b5f2 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.cc
@@ -5,12 +5,14 @@
#include "ppapi/native_client/src/shared/ppapi_proxy/ppp_instance_combined.h"
#include <stdlib.h>
+#include <string.h>
namespace ppapi_proxy {
PPP_Instance_Combined::PPP_Instance_Combined()
: initialized_(false),
did_change_view_1_0_(NULL) {
+ memset(&instance_1_1_, 0, sizeof(instance_1_1_));
}
void PPP_Instance_Combined::Init1_0(const PPP_Instance_1_0* instance_if) {
« no previous file with comments | « net/spdy/buffered_spdy_framer.cc ('k') | ppapi/native_client/src/trusted/plugin/module_ppapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698