]> git.mxchange.org Git - simgear.git/commitdiff
surpress unitialized variuable warning for SGSphere() only
authorErik Hofman <erik@ehofman.com>
Tue, 20 Dec 2011 09:08:20 +0000 (10:08 +0100)
committerErik Hofman <erik@ehofman.com>
Tue, 20 Dec 2011 09:08:20 +0000 (10:08 +0100)
simgear/math/SGSphere.hxx

index 26649e1b12c5202f62bdf999e462509c1b0c70d1..d3d190e0cc2df0a79bb784a357e14dfe653915ea 100644 (file)
@@ -18,6 +18,8 @@
 #ifndef SGSphere_H
 #define SGSphere_H
 
+#pragma GCC diagnostic ignored "-Wuninitialized" SGSphere();
+
 template<typename T>
 class SGSphere {
 public: