summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCVS.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestCVS.cxx')
-rw-r--r--Source/CTest/cmCTestCVS.cxx5
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,