diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-10-28 10:41:39 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-28 10:41:39 +0100 |
| commit | d9b9afe2b9921b0b3624095b60cca7d630cae67a (patch) | |
| tree | 7865bf5e9b3d7b293f207c10a24fe965a114cfce /src/apps/optargpm.h | |
| parent | e2d5b13f3442a8e88093a9d68e1be550194a4d77 (diff) | |
| parent | 7026fa2241d4e42ac35688487b7c7dd4d7f8bad1 (diff) | |
| download | PROJ-d9b9afe2b9921b0b3624095b60cca7d630cae67a.tar.gz PROJ-d9b9afe2b9921b0b3624095b60cca7d630cae67a.zip | |
Merge pull request #1697 from rouault/cppcheck_fixes
Fixes/workaround to be able to use cppcheck from Ubuntu 16.04 (fixes #1648)
Diffstat (limited to 'src/apps/optargpm.h')
| -rw-r--r-- | src/apps/optargpm.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/apps/optargpm.h b/src/apps/optargpm.h index f293ad98..4e8dd9c7 100644 --- a/src/apps/optargpm.h +++ b/src/apps/optargpm.h @@ -286,9 +286,7 @@ int opt_input_loop (OPTARGS *opt, int binary) { return 1; /* ignore non-existing files - go on! */ - if (nullptr==opt->input) - return opt_input_loop (opt, binary); - return 0; + return opt_input_loop (opt, binary); } |
