Fix compiler warnings

This commit is contained in:
Eric Fischer
2017-09-01 17:36:43 -07:00
parent 86ff221663
commit 7b71f41e43
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ std::vector<drawvec_type> readGeometry(protozero::pbf_reader &pbf, size_t dim, d
std::vector<drawvec_type> ret;
std::vector<long long> coords;
std::vector<int> lengths;
int type;
int type = -1;
while (pbf.next()) {
switch (pbf.tag()) {