aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/scan_name.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-03-06 04:39:07 -0500
committerJack Lloyd <[email protected]>2016-03-06 04:39:07 -0500
commit986628ac9e2a3dcda416c9676ebe9785da1378aa (patch)
treed0d8afe2159821f3c89545ea7711fba05c97e720 /src/lib/base/scan_name.cpp
parenta3ce0bd1e9e018ea69741c4380bf065cccedec93 (diff)
parentf95cd9245d2e889a756b187452dafaf68e795179 (diff)
Merge GH #444 remaining cppcheck fixes
Diffstat (limited to 'src/lib/base/scan_name.cpp')
-rw-r--r--src/lib/base/scan_name.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/base/scan_name.cpp b/src/lib/base/scan_name.cpp
index 4688d0871..08f5e8702 100644
--- a/src/lib/base/scan_name.cpp
+++ b/src/lib/base/scan_name.cpp
@@ -70,10 +70,8 @@ SCAN_Name::SCAN_Name(const char* algo_spec) : SCAN_Name(std::string(algo_spec))
{
}
-SCAN_Name::SCAN_Name(std::string algo_spec)
+SCAN_Name::SCAN_Name(std::string algo_spec) : m_orig_algo_spec(algo_spec), m_alg_name(), m_args(), m_mode_info()
{
- m_orig_algo_spec = algo_spec;
-
std::vector<std::pair<size_t, std::string> > name;
size_t level = 0;
std::pair<size_t, std::string> accum = std::make_pair(level, "");