mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-05 01:45:41 +02:00
Fix potentially unintialized variable
This commit is contained in:
@@ -140,6 +140,7 @@ std::vector<std::vector<std::map<std::string, mvt_value>>> get_joined_rows(sqlit
|
|||||||
for (int i = 1; i < count; i++) {
|
for (int i = 1; i < count; i++) {
|
||||||
int type = sqlite3_column_type(stmt, i);
|
int type = sqlite3_column_type(stmt, i);
|
||||||
mvt_value v;
|
mvt_value v;
|
||||||
|
v.numeric_value.null_value = 0;
|
||||||
v.type = mvt_null;
|
v.type = mvt_null;
|
||||||
|
|
||||||
if (type == SQLITE_INTEGER || type == SQLITE_FLOAT) {
|
if (type == SQLITE_INTEGER || type == SQLITE_FLOAT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user