[Scummvm-git-logs] scummvm master -> 5eea71c0c7082f1a88646b2b96fdfbef5d8e0dc9

athrxx noreply at scummvm.org
Wed Jun 8 23:17:23 UTC 2022


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:
5eea71c0c7 KYRA: fix warnings


Commit: 5eea71c0c7082f1a88646b2b96fdfbef5d8e0dc9
    https://github.com/scummvm/scummvm/commit/5eea71c0c7082f1a88646b2b96fdfbef5d8e0dc9
Author: athrxx (athrxx at scummvm.org)
Date: 2022-06-09T01:17:13+02:00

Commit Message:
KYRA: fix warnings

Changed paths:
    engines/kyra/graphics/screen_lok.cpp
    engines/kyra/gui/gui_lok.cpp


diff --git a/engines/kyra/graphics/screen_lok.cpp b/engines/kyra/graphics/screen_lok.cpp
index 0bb8838db81..80ce81c6dc0 100644
--- a/engines/kyra/graphics/screen_lok.cpp
+++ b/engines/kyra/graphics/screen_lok.cpp
@@ -608,7 +608,7 @@ void HangulFontLoK::drawChar(uint16 c, byte *dst, int pitch, int) const {
 	}
 
 	renderGlyph(dst, glyph, _colorMap[1], pitch);
-};
+}
 
 const uint8 *HangulFontLoK::createGlyph(uint16 chr) const {
 	memset(_glyphTemp, 0, 30);
diff --git a/engines/kyra/gui/gui_lok.cpp b/engines/kyra/gui/gui_lok.cpp
index e394fb61b51..014bf16c7a9 100644
--- a/engines/kyra/gui/gui_lok.cpp
+++ b/engines/kyra/gui/gui_lok.cpp
@@ -732,10 +732,10 @@ void GUI_LoK::updateSavegameString() {
 		char oneByteInput = _keyPressed.ascii;
 		Util::convertISOToDOS(oneByteInput);
 		uint16 twoByteInput = 0;
-		uint8 flags = 0;
+		//uint8 flags = 0;
 
 		if (inputType == Font::kHANGUL)
-			flags = Util::convertKeyDOSToHAN(oneByteInput, twoByteInput);
+			/*flags = */Util::convertKeyDOSToHAN(oneByteInput, twoByteInput);
 
 		if (twoByteInput) {
 			if ((length < ARRAYSIZE(_savegameName) - 2) && (width <= 240)) {




More information about the Scummvm-git-logs mailing list