diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-02-27 23:12:53 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2020-02-27 23:35:36 +0100 |
| commit | fb87c671f11b5a3a41828727a8b57f6c8397fc79 (patch) | |
| tree | 6c7f0d5b9324323477c98c7a2df0804e24ffe20e /src/iso19111/c_api.cpp | |
| parent | f3561e5749fefd957f67cc631378d1c39161a310 (diff) | |
| download | PROJ-fb87c671f11b5a3a41828727a8b57f6c8397fc79.tar.gz PROJ-fb87c671f11b5a3a41828727a8b57f6c8397fc79.zip | |
Fix warnings of latest cppcheck master
Diffstat (limited to 'src/iso19111/c_api.cpp')
| -rw-r--r-- | src/iso19111/c_api.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index bb01889b..d5f299c2 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -6620,7 +6620,7 @@ int proj_coordoperation_is_instantiable(PJ_CONTEXT *ctx, auto dbContext = getDBcontextNoException(ctx, __FUNCTION__); try { auto ret = op->isPROJInstantiable( - dbContext, proj_context_is_network_enabled(ctx) != false) + dbContext, proj_context_is_network_enabled(ctx) != FALSE) ? 1 : 0; if (ctx->cpp_context) { @@ -6935,7 +6935,7 @@ int proj_coordoperation_get_grid_used_count(PJ_CONTEXT *ctx, if (!coordoperation->gridsNeededAsked) { coordoperation->gridsNeededAsked = true; const auto gridsNeeded = co->gridsNeeded( - dbContext, proj_context_is_network_enabled(ctx) != false); + dbContext, proj_context_is_network_enabled(ctx) != FALSE); for (const auto &gridDesc : gridsNeeded) { coordoperation->gridsNeeded.emplace_back(gridDesc); } |
