diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-02-24 17:14:59 +0100 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-04 16:01:41 -0800 |
commit | 8112ac3371230d0d99733c4b71fb2fac3d610404 (patch) | |
tree | 4bc0abb7e48f4b675e98d9a392a29deb8e6285fe /include/mbgl/style | |
parent | 661e9e7f49d6aadbd9c14a99b213d8fa0653b469 (diff) | |
download | qtlocation-mapboxgl-8112ac3371230d0d99733c4b71fb2fac3d610404.tar.gz |
[core] explicitly initialize a few fields to null
Diffstat (limited to 'include/mbgl/style')
-rw-r--r-- | include/mbgl/style/types.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/style/types.hpp b/include/mbgl/style/types.hpp index 38915db7d8..97a648210a 100644 --- a/include/mbgl/style/types.hpp +++ b/include/mbgl/style/types.hpp @@ -18,10 +18,10 @@ struct Faded { Faded(const T& v) : to(v) {} T from; - float fromScale; + float fromScale = 0; T to; - float toScale; - float t; + float toScale = 0; + float t = 0; }; // ------------------------------------------------------------------------------------------------- |