diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-06-17 22:49:51 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-06-17 22:49:51 +0200 |
commit | 032d5126e41562917b91b8f4826b0be628169968 (patch) | |
tree | e3584992ef5574fc8307cdf3174c012651b5490c /configmgr | |
parent | ba2cf5539890eeb23182dd2c64b5cf359b80c885 (diff) |
cppcheck: fix some uninitMemberVar in configmgr part
Change-Id: I9b18f033c46e16cf75cc513d00712c40bfddda14
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/valueparser.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/xcdparser.cxx | 2 | ||||
-rw-r--r-- | configmgr/source/xcsparser.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx index 9f93cd85dcf1..c717d0ee69fa 100644 --- a/configmgr/source/valueparser.cxx +++ b/configmgr/source/valueparser.cxx @@ -257,7 +257,7 @@ css::uno::Any parseValue( } -ValueParser::ValueParser(int layer): layer_(layer) {} +ValueParser::ValueParser(int layer): state_(STATE_TEXT), layer_(layer) {} ValueParser::~ValueParser() {} diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx index ebf14feda7f2..359c73d7e83e 100644 --- a/configmgr/source/xcdparser.cxx +++ b/configmgr/source/xcdparser.cxx @@ -41,7 +41,7 @@ namespace configmgr { XcdParser::XcdParser( int layer, std::set< OUString > const & processedDependencies, Data & data): layer_(layer), processedDependencies_(processedDependencies), data_(data), - state_(STATE_START) + state_(STATE_START), dependencyOptional_(false), nesting_(0) {} XcdParser::~XcdParser() {} diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx index b60cb1d5145e..6f4744de7799 100644 --- a/configmgr/source/xcsparser.cxx +++ b/configmgr/source/xcsparser.cxx @@ -114,7 +114,7 @@ void merge( } XcsParser::XcsParser(int layer, Data & data): - valueParser_(layer), data_(data), state_(STATE_START) + valueParser_(layer), data_(data), state_(STATE_START), ignoring_(0) {} XcsParser::~XcsParser() {} |