summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_file_io_shared.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 00:12:39 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-21 00:12:39 +0000
commitb1a975e5d378cea4913320f401f507119ce58fbb (patch)
treef53f61c734183c7426852ad9a002a879e548bb17 /ppapi/shared_impl/ppb_file_io_shared.cc
parent4b1c1134d7b7dbfd5e0fcdec39a79390364c9f16 (diff)
downloadchromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.zip
chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.tar.gz
chromium_src-b1a975e5d378cea4913320f401f507119ce58fbb.tar.bz2
Coverity: Initialize member variables.
CID=6462,16392,16996,17268,100987,101018,102401,102417,102476,102484,102513 102546,102552,102567,102617,102674,102677,102678,102679,102681,102685, 102714,102750,102751,102781 BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/9005015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_file_io_shared.cc')
-rw-r--r--ppapi/shared_impl/ppb_file_io_shared.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppb_file_io_shared.cc b/ppapi/shared_impl/ppb_file_io_shared.cc
index a51c33f..dcad4d7 100644
--- a/ppapi/shared_impl/ppb_file_io_shared.cc
+++ b/ppapi/shared_impl/ppb_file_io_shared.cc
@@ -24,6 +24,8 @@ using thunk::PPB_FileRef_API;
PPB_FileIO_Shared::CallbackEntry::CallbackEntry()
: read_buffer(NULL),
info(NULL) {
+ callback.func = NULL;
+ callback.user_data = NULL;
}
PPB_FileIO_Shared::CallbackEntry::CallbackEntry(const CallbackEntry& entry)