summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph_pbf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/glyph_pbf.cpp')
-rw-r--r--src/mbgl/text/glyph_pbf.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mbgl/text/glyph_pbf.cpp b/src/mbgl/text/glyph_pbf.cpp
index cfaf803f75..c1cd329292 100644
--- a/src/mbgl/text/glyph_pbf.cpp
+++ b/src/mbgl/text/glyph_pbf.cpp
@@ -18,8 +18,12 @@ std::vector<Glyph> parseGlyphPBF(const GlyphRange& glyphRange, const std::string
Glyph glyph;
protozero::data_view glyphData;
- bool hasID = false, hasWidth = false, hasHeight = false, hasLeft = false,
- hasTop = false, hasAdvance = false;
+ bool hasID = false;
+ bool hasWidth = false;
+ bool hasHeight = false;
+ bool hasLeft = false;
+ bool hasTop = false;
+ bool hasAdvance = false;
while (glyph_pbf.next()) {
switch (glyph_pbf.tag()) {