From e8e3049d311a7dc3c2afd9edba37fd63227ca948 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 18 Apr 2012 13:51:40 +0200 Subject: Fix unused variable warning. Change-Id: I8daa2912e1c26e9e9f6bb77f64eb3e06c6715cce Reviewed-by: David Faure --- src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h b/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h index 8992c535ba..122fed582b 100644 --- a/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h +++ b/src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h @@ -85,6 +85,8 @@ struct QGLGlyphTexture : public QOpenGLSharedResource const QGLContext *ctx = QGLContext::fromOpenGLContext(context); #ifdef QT_GL_TEXTURE_GLYPH_CACHE_DEBUG qDebug("~QGLGlyphTexture() %p for context %p.", this, ctx); +#else + Q_UNUSED(ctx); #endif if (m_fbo) glDeleteFramebuffers(1, &m_fbo); -- cgit v1.2.3