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

aquadran noreply at scummvm.org
Mon May 30 05:48:36 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:
b3ee5b54f6 AGS: Fixed compiler warning: "expression result unused"


Commit: b3ee5b54f6b258caf1b587de738776a104f2e65c
    https://github.com/scummvm/scummvm/commit/b3ee5b54f6b258caf1b587de738776a104f2e65c
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-05-30T07:48:32+02:00

Commit Message:
AGS: Fixed compiler warning: "expression result unused"

Changed paths:
    engines/ags/lib/alfont/alfont.cpp


diff --git a/engines/ags/lib/alfont/alfont.cpp b/engines/ags/lib/alfont/alfont.cpp
index 0d902f8c40e..3e1ec23b02f 100644
--- a/engines/ags/lib/alfont/alfont.cpp
+++ b/engines/ags/lib/alfont/alfont.cpp
@@ -3788,7 +3788,7 @@ int alfont_ugetx(ALFONT_FONT * f, char **s) {
 #endif
 
 		for (lIndex = 0; lIndex < sLen - aLen; lIndex++) {
-			(*(*s)++);
+			(*s)++;
 		}
 
 		if (lpszWA) {
@@ -4095,7 +4095,7 @@ int alfont_ugetxc(ALFONT_FONT * f, const char **s) {
 #endif
 
 		for (lIndex = 0; lIndex < sLen - aLen; lIndex++) {
-			(*(*s)++);
+			(*s)++;
 		}
 
 		if (lpszWA) {




More information about the Scummvm-git-logs mailing list