diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2020-04-15 10:38:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-15 10:41:16 (GMT) |
commit | 1b37136633ab1e81f12d9782ca777b954b463c42 (patch) | |
tree | 18ce99bb27e232772f63a6767369c401002c67d4 /testProcess.c | |
parent | 4ab6fcd676549814e9b4a029b6eac1f13ea8b6e6 (diff) | |
download | CMake-1b37136633ab1e81f12d9782ca777b954b463c42.zip CMake-1b37136633ab1e81f12d9782ca777b954b463c42.tar.gz CMake-1b37136633ab1e81f12d9782ca777b954b463c42.tar.bz2 |
KWSys 2020-04-15 (5ada375f)
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 5ada375fcf564e837672eecbca2d522105daebf1 (master).
Upstream Shortlog
-----------------
Ben Boeckel (3):
83b20b65 clang-tidy: address `readability-braces-around-statements` lint
535633fa clang-tidy: address `readability-isolate-declaration` lint
de210648 clang-tidy: address `readability-else-after-return` lint
Diffstat (limited to 'testProcess.c')
-rw-r--r-- | testProcess.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testProcess.c b/testProcess.c index cde466a..74daa12 100644 --- a/testProcess.c +++ b/testProcess.c @@ -710,7 +710,8 @@ int main(int argc, const char* argv[]) free(argv0); #endif return r; - } else if (argc > 2 && strcmp(argv[1], "0") == 0) { + } + if (argc > 2 && strcmp(argv[1], "0") == 0) { /* This is the special debugging test to run a given command line. */ const char** cmd = argv + 2; |