From 434824aede28e8c36d6991aa218f89daf2cc22fa Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 27 Oct 2011 16:16:16 +0200 Subject: Fix compiler warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix gcc 4.6.X warnings about assigned but unused variables - Remove trailing ';' from inline functions (Clang) Change-Id: I8670afd6b149748a740f22c65de137762e9f18e1 Reviewed-by: Samuel Rødal --- src/corelib/global/qglobal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/corelib/global/qglobal.h') diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 9780c2f96e..aa52fc17bf 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -2284,7 +2284,7 @@ struct QForeachContainerBase {}; template class QForeachContainer : public QForeachContainerBase { public: - inline QForeachContainer(const T& t): c(t), brk(0), i(c.begin()), e(c.end()){}; + inline QForeachContainer(const T& t): c(t), brk(0), i(c.begin()), e(c.end()){} const T c; mutable int brk; mutable typename T::const_iterator i, e; -- cgit v1.2.3