diff options
| -rw-r--r-- | src/PropSet.cxx | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/src/PropSet.cxx b/src/PropSet.cxx index 465f5f680..2f8da6d8b 100644 --- a/src/PropSet.cxx +++ b/src/PropSet.cxx @@ -152,8 +152,7 @@ SString PropSet::GetExpanded(const char *key) {  	SString val = Get(key);  	if (IncludesVar(val.c_str(), key))  		return val; -	else -		return Expand(val.c_str()); +	return Expand(val.c_str());  }  SString PropSet::Expand(const char *withvars) { @@ -185,8 +184,7 @@ int PropSet::GetInt(const char *key, int defaultValue) {  	SString val = GetExpanded(key);  	if (val.length())  		return val.value(); -	else -		return defaultValue; +	return defaultValue;  }  bool isprefix(const char *target, const char *prefix) { | 
