qglblitter: shut up warning

This commit is contained in:
sinamas 2013-02-10 21:31:00 +01:00
parent c8bfd3125f
commit ee9f1c67eb

View File

@ -17,14 +17,12 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include "qglblitter.h"
#include <QSizePolicy>
#include <QVBoxLayout>
#include <QCheckBox>
#include <QResizeEvent>
#include <QSettings>
#include <QGLWidget>
#include <algorithm>
#include <cstring>
@ -96,6 +94,8 @@ static const QGLFormat getQGLFormat(const unsigned swapInterval) {
#ifndef PLATFORM_UNIX
f.setSwapInterval(swapInterval);
#else
(void) swapInterval;
#endif
return f;