From: Erik Hofman Date: Mon, 19 Dec 2011 14:25:58 +0000 (+0100) Subject: Intialize the center to prevent a 'may be used uninitialized' warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=052ce499c9a55db695e727e2ba31e1cb63b120d0;p=simgear.git Intialize the center to prevent a 'may be used uninitialized' warning --- diff --git a/simgear/math/SGSphere.hxx b/simgear/math/SGSphere.hxx index 7d8b3ab1..7d6a8d3c 100644 --- a/simgear/math/SGSphere.hxx +++ b/simgear/math/SGSphere.hxx @@ -22,6 +22,7 @@ template class SGSphere { public: SGSphere() : + _center(0.0, 0.0, 0.0), _radius(-1) { } SGSphere(const SGVec3& center, const T& radius) :