diff options
author | Stijn Buys <ingar@osirion.org> | 2008-03-24 16:38:18 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-03-24 16:38:18 +0000 |
commit | bd647ce0f411c1a78407762e0a01511694e76e6f (patch) | |
tree | b3bc3bc97767553cbcb448479540d6201bd37ca1 /src | |
parent | 600ab7911460ba173f82c78145fe573808d16f89 (diff) |
potential unintialized value
Diffstat (limited to 'src')
-rw-r--r-- | src/core/model.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/model.cc b/src/core/model.cc index a0aa489..1ddefca 100644 --- a/src/core/model.cc +++ b/src/core/model.cc @@ -243,10 +243,10 @@ Model::Model(std::string const & name) : std::string class_name; math::Vector3f class_origin; - float class_angle; + float class_angle = 0; math::Color class_color; - unsigned int class_spawnflags; - bool brush_detail; + unsigned int class_spawnflags = 0; + bool brush_detail = false; while (ifs) { ifs.getline(data, 1023); |