diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-02-16 06:47:17 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-02-16 06:47:17 -0800 |
commit | 0146e43c35b095d483bfa359f7d09ccc2addeb8e (patch) | |
tree | efc940256afce2ccb35028571cf0d6aed04c565d | |
parent | f8c0d779eaae9ba08d2c16fd21ae707eee92b18c (diff) | |
download | txr-0146e43c35b095d483bfa359f7d09ccc2addeb8e.tar.gz txr-0146e43c35b095d483bfa359f7d09ccc2addeb8e.tar.bz2 txr-0146e43c35b095d483bfa359f7d09ccc2addeb8e.zip |
Eliminate always false expression.
* txr.c (txr_main): Since parser.errors being nonzero
is handled earlier, it must be zero at the final
return point and need not be tested.
-rw-r--r-- | txr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1027,7 +1027,7 @@ int txr_main(int argc, char **argv) goto repl; } - return (parser.errors || !success) ? EXIT_FAILURE : 0; + return success ? 0 : EXIT_FAILURE; } } |