[Scummvm-cvs-logs] scummvm master -> 3f3c3b7f5c39bc691f7e00c35065232470bef070

eriktorbjorn eriktorbjorn at telia.com
Wed Nov 25 06:53:35 CET 2015


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:
3f3c3b7f5c ACCESS: Silence GCC warnings


Commit: 3f3c3b7f5c39bc691f7e00c35065232470bef070
    https://github.com/scummvm/scummvm/commit/3f3c3b7f5c39bc691f7e00c35065232470bef070
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-11-25T06:52:50+01:00

Commit Message:
ACCESS: Silence GCC warnings

Changed paths:
    engines/access/video/movie_decoder.cpp



diff --git a/engines/access/video/movie_decoder.cpp b/engines/access/video/movie_decoder.cpp
index 3e1a496..b9e252d 100644
--- a/engines/access/video/movie_decoder.cpp
+++ b/engines/access/video/movie_decoder.cpp
@@ -434,7 +434,6 @@ void AccessVIDMovieDecoder::StreamVideoTrack::decodeFrame(Common::SeekableReadSt
 			}
 		}
 
-		byte rleByte = 0;
 		expectedPixels = _width * (_height - horizontalStartPosition);
 
 		// adjust frame destination pointer
@@ -552,7 +551,6 @@ bool AccessVIDMovieDecoder::StreamVideoTrack::skipOverFrame(Common::SeekableRead
 			}
 		}
 
-		byte rleByte = 0;
 		expectedPixels = _width * (_height - horizontalStartPosition);
 
 		while (expectedPixels >= 0) {
@@ -704,8 +702,6 @@ bool AccessEngine::playMovie(const Common::String &filename, const Common::Point
 	}
 
 	bool skipVideo = false;
-	uint16 width = videoDecoder->getWidth();
-	uint16 height = videoDecoder->getHeight();
 
 	_events->clearEvents();
 	videoDecoder->start();






More information about the Scummvm-git-logs mailing list