From f80131d42832cf64032bbb855c6bda0f7ea3bc73 Mon Sep 17 00:00:00 2001 From: "jhawkins@chromium.org" <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> Date: Wed, 25 Jul 2012 22:20:25 +0000 Subject: Coverity: Initialize member variables. CID_COUNT=6 CID=103934,104157,[104037,104088,104089,104091],104223,104241,104263 BUG=none TEST=none R=tbreisacher TBR=brettw Review URL: https://chromiumcodereview.appspot.com/10830013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148432 0039d316-1c4b-4281-b951-d872f2087c98 --- content/app/content_main_runner.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'content/app/content_main_runner.cc') diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc index 8094ca4..88a72e8 100644 --- a/content/app/content_main_runner.cc +++ b/content/app/content_main_runner.cc @@ -48,6 +48,7 @@ #endif #if defined(OS_WIN) +#include <cstring> #include <atlbase.h> #include <atlapp.h> #include <malloc.h> @@ -398,6 +399,9 @@ class ContentMainRunnerImpl : public ContentMainRunner { is_shutdown_(false), completed_basic_startup_(false), delegate_(NULL) { +#if defined(OS_WIN) + memset(&sandbox_info_, 0, sizeof(sandbox_info_)); +#endif } ~ContentMainRunnerImpl() { -- cgit v1.1