From 052ce499c9a55db695e727e2ba31e1cb63b120d0 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Mon, 19 Dec 2011 15:25:58 +0100 Subject: [PATCH] Intialize the center to prevent a 'may be used uninitialized' warning --- simgear/math/SGSphere.hxx | 1 + 1 file changed, 1 insertion(+) 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) : -- 2.39.5