summaryrefslogtreecommitdiff
path: root/Source/cmOutputRequiredFilesCommand.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 10:06:12 +0200
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 10:44:07 +0200
commitb26577c92ae59fa23be49bcaa3404efe36646e1a (patch)
tree012e6dd431092905593339451118cf434aefa206 /Source/cmOutputRequiredFilesCommand.cxx
parent1b0c7bca5ede6eb3965cb23471c6530a08d0d2d5 (diff)
downloadcmake-b26577c92ae59fa23be49bcaa3404efe36646e1a.tar.gz
clang-tidy: remove else after break and continue
Diffstat (limited to 'Source/cmOutputRequiredFilesCommand.cxx')
-rw-r--r--Source/cmOutputRequiredFilesCommand.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmOutputRequiredFilesCommand.cxx b/Source/cmOutputRequiredFilesCommand.cxx
index 8b8cf0760e..2339d68766 100644
--- a/Source/cmOutputRequiredFilesCommand.cxx
+++ b/Source/cmOutputRequiredFilesCommand.cxx
@@ -188,9 +188,8 @@ protected:
if (qstart == std::string::npos) {
cmSystemTools::Error("unknown include directive ", line.c_str());
continue;
- } else {
- qend = line.find('>', qstart + 1);
}
+ qend = line.find('>', qstart + 1);
} else {
qend = line.find('\"', qstart + 1);
}