diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-11 23:30:09 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-08-11 23:30:09 +0200 |
commit | f5a34606b4a910e7b7b984940fb2d12681a2dd3b (patch) | |
tree | f045b545dec217546f74bf21c274db4f747ddee0 /methods/cdrom.cc | |
parent | 1842a17db2ecebaf7b19de574cb4cd87c687202c (diff) |
follow the recommendation of cppcheck to make some method methods (scnr)
const and initial mostly Debug member values in the constructors
Diffstat (limited to 'methods/cdrom.cc')
-rw-r--r-- | methods/cdrom.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/methods/cdrom.cc b/methods/cdrom.cc index b25fdf5a8..ae699dfc3 100644 --- a/methods/cdrom.cc +++ b/methods/cdrom.cc @@ -54,7 +54,8 @@ class CDROMMethod : public pkgAcqMethod CDROMMethod::CDROMMethod() : pkgAcqMethod("1.0",SingleInstance | LocalOnly | SendConfig | NeedsCleanup | Removable), - DatabaseLoaded(false), + DatabaseLoaded(false), + Debug(false), MountedByApt(false) { UdevCdroms.Dlopen(); |