summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qmovie.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-08-17 11:48:51 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-08-17 11:49:14 (GMT)
commit3d50220423b96a84f1ca4c0f5ef9246345aad359 (patch)
tree82d66d5da9ae7820abd04577fe6a93a983a5277b /src/gui/image/qmovie.cpp
parent025a7395153c3708e2964cfd93957532b19ae04f (diff)
downloadQt-3d50220423b96a84f1ca4c0f5ef9246345aad359.zip
Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.tar.gz
Qt-3d50220423b96a84f1ca4c0f5ef9246345aad359.tar.bz2
Fix coverity warnings
Diffstat (limited to 'src/gui/image/qmovie.cpp')
-rw-r--r--src/gui/image/qmovie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/image/qmovie.cpp b/src/gui/image/qmovie.cpp
index 2265e7b..c341e5e 100644
--- a/src/gui/image/qmovie.cpp
+++ b/src/gui/image/qmovie.cpp
@@ -356,7 +356,7 @@ QFrameInfo QMoviePrivate::infoForFrame(int frameNumber)
reader = new QImageReader(device, format);
else
reader = new QImageReader(absoluteFilePath, format);
- reader->canRead(); // Provoke a device->open() call
+ (void)reader->canRead(); // Provoke a device->open() call
reader->device()->seek(initialDevicePos);
reader->setBackgroundColor(bgColor);
reader->setScaledSize(scaledSize);