projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8dfa1e
)
dont pass NULL to a std::string parameter
author
Klaus Kaempf
<kkaempf@suse.de>
Mon, 9 Jan 2006 16:59:33 +0000
(16:59 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Mon, 9 Jan 2006 16:59:33 +0000
(16:59 +0000)
zypp/solver/temporary/XmlNode.cc
patch
|
blob
|
history
diff --git
a/zypp/solver/temporary/XmlNode.cc
b/zypp/solver/temporary/XmlNode.cc
index bb9ce0a0d0822856fa787b9830263ff6ffb5cd3f..1ce0145aaf97fff77ec484790a26b514eac1935c 100644
(file)
--- a/
zypp/solver/temporary/XmlNode.cc
+++ b/
zypp/solver/temporary/XmlNode.cc
@@
-162,7
+162,7
@@
XmlNode::getIntValue (const std::string & name, int *value) const
char *ret;
long z;
- strval = this->getValue (name
, NULL
);
+ strval = this->getValue (name);
if (strval.empty()) {
return false;
}
@@
-206,7
+206,7
@@
XmlNode::getUnsignedIntValue (const std::string & name, unsigned int *value) con
char *ret;
int z;
- strval = this->getValue (name
, NULL
);
+ strval = this->getValue (name);
if (strval.empty()) {
return false;
}