[Base] remove some more superfluous nullptr checks
This commit is contained in:
@@ -700,7 +700,7 @@ std::string ParameterGrp::GetASCII(const char* Name, const char * pPreset) const
|
||||
DOMElement *pcElem = FindElement(_pGroupNode,"FCText",Name);
|
||||
// if not return preset
|
||||
if (!pcElem) {
|
||||
if (pPreset==nullptr)
|
||||
if (!pPreset)
|
||||
return std::string("");
|
||||
else
|
||||
return std::string(pPreset);
|
||||
|
||||
Reference in New Issue
Block a user