diff options
-rw-r--r-- | Source/cmSetCommand.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Source/cmSetCommand.cxx b/Source/cmSetCommand.cxx index 22b4383..bb193bf 100644 --- a/Source/cmSetCommand.cxx +++ b/Source/cmSetCommand.cxx @@ -122,15 +122,8 @@ bool cmSetCommand if (parentScope) { - if (value.empty()) - { - this->Makefile->RaiseScope(variable, 0); - } - else - { - this->Makefile->RaiseScope(variable, value.c_str()); - } - return true; + this->Makefile->RaiseScope(variable, value.c_str()); + return true; } |