summaryrefslogtreecommitdiffstats
path: root/net/url_request/url_request_job_manager.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 /net/url_request/url_request_job_manager.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 'net/url_request/url_request_job_manager.cc')
-rw-r--r--net/url_request/url_request_job_manager.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/net/url_request/url_request_job_manager.cc b/net/url_request/url_request_job_manager.cc
index 71e9e55..f149fb2 100644
--- a/net/url_request/url_request_job_manager.cc
+++ b/net/url_request/url_request_job_manager.cc
@@ -262,11 +262,10 @@ void URLRequestJobManager::UnregisterRequestInterceptor(
interceptors_.erase(i);
}
-URLRequestJobManager::URLRequestJobManager() : enable_file_access_(false) {
-#ifndef NDEBUG
- allowed_thread_ = 0;
- allowed_thread_initialized_ = false;
-#endif
+URLRequestJobManager::URLRequestJobManager()
+ : allowed_thread_(0),
+ allowed_thread_initialized_(false),
+ enable_file_access_(false) {
}
URLRequestJobManager::~URLRequestJobManager() {}