summaryrefslogtreecommitdiffstats
path: root/Source/cmSetPropertiesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-12-08 14:27:52 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-12-08 14:27:52 (GMT)
commit1dd5db023592c3c5488adb67dfba433ab5b399af (patch)
treec05958a07745af7313e7214d672ae9f986fe9bba /Source/cmSetPropertiesCommand.cxx
parent5ccd5a4a5b90d2af569a750016bef8e8f5e8ca40 (diff)
downloadCMake-1dd5db023592c3c5488adb67dfba433ab5b399af.zip
CMake-1dd5db023592c3c5488adb67dfba433ab5b399af.tar.gz
CMake-1dd5db023592c3c5488adb67dfba433ab5b399af.tar.bz2
COMP: fix some warnings and style issues
Diffstat (limited to 'Source/cmSetPropertiesCommand.cxx')
-rw-r--r--Source/cmSetPropertiesCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSetPropertiesCommand.cxx b/Source/cmSetPropertiesCommand.cxx
index d69dddd..8024c6a 100644
--- a/Source/cmSetPropertiesCommand.cxx
+++ b/Source/cmSetPropertiesCommand.cxx
@@ -110,8 +110,8 @@ bool cmSetPropertiesCommand::InitialPass(
std::string message = "Can not find target to add properties to: ";
message += scopeName;
this->SetError(message.c_str());
+ return ret;
}
- return ret;
}
break;
case cmProperty::DIRECTORY:
@@ -146,8 +146,8 @@ bool cmSetPropertiesCommand::InitialPass(
if (!ret)
{
this->SetError(errors.c_str());
+ return ret;
}
- return ret;
}
break;
case cmProperty::SOURCE_FILE: