summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default/headless_display.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-02-24 17:14:59 +0100
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-03-04 16:01:41 -0800
commit8112ac3371230d0d99733c4b71fb2fac3d610404 (patch)
tree4bc0abb7e48f4b675e98d9a392a29deb8e6285fe /include/mbgl/platform/default/headless_display.hpp
parent661e9e7f49d6aadbd9c14a99b213d8fa0653b469 (diff)
downloadqtlocation-mapboxgl-8112ac3371230d0d99733c4b71fb2fac3d610404.tar.gz
[core] explicitly initialize a few fields to null
Diffstat (limited to 'include/mbgl/platform/default/headless_display.hpp')
-rw-r--r--include/mbgl/platform/default/headless_display.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/platform/default/headless_display.hpp b/include/mbgl/platform/default/headless_display.hpp
index 4b160ddc68..80a0c31af3 100644
--- a/include/mbgl/platform/default/headless_display.hpp
+++ b/include/mbgl/platform/default/headless_display.hpp
@@ -11,7 +11,7 @@ public:
~HeadlessDisplay();
#if MBGL_USE_CGL
- CGLPixelFormatObj pixelFormat;
+ CGLPixelFormatObj pixelFormat = nullptr;
#endif
#if MBGL_USE_GLX