diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-18 18:04:21 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-18 18:04:21 (GMT) |
commit | 50ad1e0a144ae1f2267a4966789e5a16372f458e (patch) | |
tree | ab43b965115505a6d7367566d280b2d9b179ff11 /Source/CTest/cmCTestCVS.cxx | |
parent | 7f97a6c94b59be7e7eba7362ce3eecdcff79ab70 (diff) | |
download | CMake-50ad1e0a144ae1f2267a4966789e5a16372f458e.zip CMake-50ad1e0a144ae1f2267a4966789e5a16372f458e.tar.gz CMake-50ad1e0a144ae1f2267a4966789e5a16372f458e.tar.bz2 |
CTest: don't use else after return
Diffstat (limited to 'Source/CTest/cmCTestCVS.cxx')
-rw-r--r-- | Source/CTest/cmCTestCVS.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestCVS.cxx b/Source/CTest/cmCTestCVS.cxx index 37bdf9a..fb96308 100644 --- a/Source/CTest/cmCTestCVS.cxx +++ b/Source/CTest/cmCTestCVS.cxx @@ -216,10 +216,9 @@ std::string cmCTestCVS::ComputeBranchFlag(std::string const& dir) std::string flag = "-r"; flag += tagLine.substr(1); return flag; - } else { - // Use the default branch. - return "-b"; } + // Use the default branch. + return "-b"; } void cmCTestCVS::LoadRevisions(std::string const& file, const char* branchFlag, |