From 368d280da251c252aa434eb728d3a1a161478012 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Tue, 20 Dec 2011 10:08:20 +0100 Subject: [PATCH] surpress unitialized variuable warning for SGSphere() only --- simgear/math/SGSphere.hxx | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.39.5