[Scummvm-cvs-logs] scummvm master -> 342fd8cc28b3ce26c2c593f5641c90642f54571c

wjp wjp at usecode.org
Sat Feb 11 11:37:10 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
342fd8cc28 VIDEO: Remove unused variable


Commit: 342fd8cc28b3ce26c2c593f5641c90642f54571c
    https://github.com/scummvm/scummvm/commit/342fd8cc28b3ce26c2c593f5641c90642f54571c
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-02-11T02:36:26-08:00

Commit Message:
VIDEO: Remove unused variable

Changed paths:
    video/qt_decoder.cpp



diff --git a/video/qt_decoder.cpp b/video/qt_decoder.cpp
index 4a57ac4..959e3c4 100644
--- a/video/qt_decoder.cpp
+++ b/video/qt_decoder.cpp
@@ -113,7 +113,6 @@ void QuickTimeDecoder::pauseVideoIntern(bool pause) {
 
 QuickTimeDecoder::VideoTrackHandler *QuickTimeDecoder::findNextVideoTrack() const {
 	VideoTrackHandler *bestTrack = 0;
-	int32 num;
 	uint32 bestTime = 0xffffffff;
 
 	for (uint32 i = 0; i < _handlers.size(); i++) {
@@ -124,7 +123,6 @@ QuickTimeDecoder::VideoTrackHandler *QuickTimeDecoder::findNextVideoTrack() cons
 			if (time < bestTime) {
 				bestTime = time;
 				bestTrack = track;
-				num  = i;
 			}
 		}
 	}






More information about the Scummvm-git-logs mailing list