diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2022-01-09 13:05:31 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2022-01-09 13:05:31 +0100 |
| commit | f62fab9e3c839c150f22d013bcdfd6aed63a7e60 (patch) | |
| tree | ef0a8fcd36c0ddf7164fefca9435fae78334897d /src/iso19111/factory.cpp | |
| parent | b34fabe4c577aa7cd2d9f6cfdbd20cfafc732f91 (diff) | |
| download | PROJ-f62fab9e3c839c150f22d013bcdfd6aed63a7e60.tar.gz PROJ-f62fab9e3c839c150f22d013bcdfd6aed63a7e60.zip | |
Minor cppcheck fixes
Diffstat (limited to 'src/iso19111/factory.cpp')
| -rw-r--r-- | src/iso19111/factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 710fd6d5..3088f468 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -381,7 +381,7 @@ SQLResultSet SQLiteHandle::run(sqlite3_stmt *stmt, const std::string &sql, bool useMaxFloatPrecision) { int nBindField = 1; for (const auto ¶m : parameters) { - const auto paramType = param.type(); + const auto ¶mType = param.type(); if (paramType == SQLValues::Type::STRING) { auto strValue = param.stringValue(); sqlite3_bind_text(stmt, nBindField, strValue.c_str(), |
