diff options
author | Brad King <brad.king@kitware.com> | 2020-04-17 11:05:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-04-17 11:05:19 (GMT) |
commit | b6ce851bef023086b1a396ece719c792847b4529 (patch) | |
tree | 5f17157be04a1a85b5d649262200dd08770425a8 /Source/kwsys/testProcess.c | |
parent | 9a450bcfec5411169007d5ca5f1bd40e6f476ff4 (diff) | |
parent | 363ec4f585b42c95824a3cec82702c9741623307 (diff) | |
download | CMake-b6ce851bef023086b1a396ece719c792847b4529.zip CMake-b6ce851bef023086b1a396ece719c792847b4529.tar.gz CMake-b6ce851bef023086b1a396ece719c792847b4529.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
KWSys 2020-04-17 (54845345)
Diffstat (limited to 'Source/kwsys/testProcess.c')
-rw-r--r-- | Source/kwsys/testProcess.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/kwsys/testProcess.c b/Source/kwsys/testProcess.c index 74daa12..5507dfb 100644 --- a/Source/kwsys/testProcess.c +++ b/Source/kwsys/testProcess.c @@ -722,9 +722,8 @@ int main(int argc, const char* argv[]) int r = runChild(cmd, state, exception, value, 0, 1, 0, timeout, 0, 1, 0, 0, 0); return r; - } else { - /* Improper usage. */ - fprintf(stdout, "Usage: %s <test number>\n", argv[0]); - return 1; } + /* Improper usage. */ + fprintf(stdout, "Usage: %s <test number>\n", argv[0]); + return 1; } |