summaryrefslogtreecommitdiff
path: root/src/style/style_parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/style/style_parser.cpp')
-rw-r--r--src/style/style_parser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/style/style_parser.cpp b/src/style/style_parser.cpp
index 0c0636695e..c2689162e2 100644
--- a/src/style/style_parser.cpp
+++ b/src/style/style_parser.cpp
@@ -465,6 +465,7 @@ std::unique_ptr<StyleLayerGroup> StyleParser::createLayers(JSVal value) {
return group;
} else {
Log::Warning(Event::ParseStyle, "layers must be an array");
+ return nullptr;
}
}