From a34651bf01d1b271ffcc1b341c3e2a77fc6af030 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 6 Mar 2015 10:18:51 +0530 Subject: [PATCH] ... --- src/calibre/headless/headless_integration.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/headless/headless_integration.cpp b/src/calibre/headless/headless_integration.cpp index aed9321e65..2c033194b8 100644 --- a/src/calibre/headless/headless_integration.cpp +++ b/src/calibre/headless/headless_integration.cpp @@ -55,6 +55,7 @@ bool HeadlessIntegration::hasCapability(QPlatformIntegration::Capability cap) co QPlatformOpenGLContext *HeadlessIntegration::createPlatformOpenGLContext(QOpenGLContext *context) const { + Q_UNUSED(context); // Suppress warnings about this plugin not supporting createPlatformOpenGLContext that come from the default implementation of this function return 0; }