[Scummvm-git-logs] scummvm master -> e6b56617254dac0d1e7b0f17ccb593859da3afcc

aquadran noreply at scummvm.org
Sun Dec 5 15:18:33 UTC 2021


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:
e6b5661725 VIDEO: Fixed compiler warning about dead code


Commit: e6b56617254dac0d1e7b0f17ccb593859da3afcc
    https://github.com/scummvm/scummvm/commit/e6b56617254dac0d1e7b0f17ccb593859da3afcc
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2021-12-05T16:18:28+01:00

Commit Message:
VIDEO: Fixed compiler warning about dead code

Changed paths:
    video/mve_decoder.cpp


diff --git a/video/mve_decoder.cpp b/video/mve_decoder.cpp
index 418ccdbff6..1e8a5dbf68 100644
--- a/video/mve_decoder.cpp
+++ b/video/mve_decoder.cpp
@@ -489,8 +489,8 @@ void MveDecoder::readNextPacket() {
 				break;
 			}
 			default:
-				error("Unknown opcode %04x", opKind);
 				_s->skip(opLen);
+				error("Unknown opcode %04x", opKind);
 				break;
 		}
 	}




More information about the Scummvm-git-logs mailing list