From: Erik Hofman Date: Tue, 20 Dec 2011 09:08:20 +0000 (+0100) Subject: surpress unitialized variuable warning for SGSphere() only X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=368d280da251c252aa434eb728d3a1a161478012;p=simgear.git surpress unitialized variuable warning for SGSphere() only --- diff --git a/simgear/math/SGSphere.hxx b/simgear/math/SGSphere.hxx index 26649e1b..d3d190e0 100644 --- a/simgear/math/SGSphere.hxx +++ b/simgear/math/SGSphere.hxx @@ -18,6 +18,8 @@ #ifndef SGSphere_H #define SGSphere_H +#pragma GCC diagnostic ignored "-Wuninitialized" SGSphere(); + template class SGSphere { public: