projects
/
platform
/
core
/
security
/
key-manager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove warnings and performance problems reported by cppcheck.
[platform/core/security/key-manager.git]
/
tests
/
test_xml-parser.cpp
diff --git
a/tests/test_xml-parser.cpp
b/tests/test_xml-parser.cpp
index
9771849
..
8782ae8
100644
(file)
--- a/
tests/test_xml-parser.cpp
+++ b/
tests/test_xml-parser.cpp
@@
-143,7
+143,7
@@
public:
class MathHandler : public XML::Parser::ElementHandler
{
public:
class MathHandler : public XML::Parser::ElementHandler
{
public:
- MathHandler() : m_valueSet(false), m_powerFactor(1) {}
+ MathHandler() : m_valueSet(false), m_
value(0), m_
powerFactor(1) {}
virtual void Start(const XML::Parser::Attributes &attr) {
const auto & it = attr.find("powerFactor");
virtual void Start(const XML::Parser::Attributes &attr) {
const auto & it = attr.find("powerFactor");