diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-01-09 14:44:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 14:44:42 +0100 |
| commit | c6c2a3b22ddef30a29cfc48ca810ee1a54385242 (patch) | |
| tree | ef0a8fcd36c0ddf7164fefca9435fae78334897d /src/apps/gie.cpp | |
| parent | b34fabe4c577aa7cd2d9f6cfdbd20cfafc732f91 (diff) | |
| parent | f62fab9e3c839c150f22d013bcdfd6aed63a7e60 (diff) | |
| download | PROJ-c6c2a3b22ddef30a29cfc48ca810ee1a54385242.tar.gz PROJ-c6c2a3b22ddef30a29cfc48ca810ee1a54385242.zip | |
Merge pull request #3017 from rouault/cppcheck_fixes
Minor cppcheck fixes
Diffstat (limited to 'src/apps/gie.cpp')
| -rw-r--r-- | src/apps/gie.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/apps/gie.cpp b/src/apps/gie.cpp index 9c2d3eab..0fb87538 100644 --- a/src/apps/gie.cpp +++ b/src/apps/gie.cpp @@ -1113,8 +1113,7 @@ static int dispatch (const char *cmnd, const char *args) { namespace { // anonymous namespace -struct errno_vs_err_const {const char *the_err_const; int the_errno;}; -static const struct errno_vs_err_const lookup[] = { +static const struct {const char *the_err_const; int the_errno;} lookup[] = { { "invalid_op", PROJ_ERR_INVALID_OP }, { "invalid_op_wrong_syntax", PROJ_ERR_INVALID_OP_WRONG_SYNTAX }, |
