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

dreammaster noreply at scummvm.org
Sun Apr 26 06:48:43 UTC 2026


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

Summary:
ac8488fbf0 MADS: PHANTOM: Further sprite_0.cpp gcc warning fixes


Commit: ac8488fbf07b05c8893e05649ad007a1aa1a06ed
    https://github.com/scummvm/scummvm/commit/ac8488fbf07b05c8893e05649ad007a1aa1a06ed
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-04-26T16:48:37+10:00

Commit Message:
MADS: PHANTOM: Further sprite_0.cpp gcc warning fixes

Changed paths:
    engines/mads/madsv2/core/sprite_0.cpp


diff --git a/engines/mads/madsv2/core/sprite_0.cpp b/engines/mads/madsv2/core/sprite_0.cpp
index fb6a3505140..bf7975b06da 100644
--- a/engines/mads/madsv2/core/sprite_0.cpp
+++ b/engines/mads/madsv2/core/sprite_0.cpp
@@ -742,7 +742,9 @@ pixel_RLE_no_attr:;
 #endif
 								*pixel_ptr = out_byte;
 #endif
+#ifdef on_black
 pixel_RLE_no_output:;
+#endif
 								out_byte = full_color; /* restore for thatching */
 								goto pixel_RLE_run_skip_n_pop;
 							}
@@ -765,9 +767,6 @@ pixel_RLE_no_output2:;
 #if interface || three_d || translate
 pixel_RLE_run_skip_n_pop:;
 #endif
-#if three_d
-pixel_RLE_run_skip:
-#endif
 
 #if translate
 						thatch_flag ^= 1;
@@ -913,7 +912,9 @@ pixel_IRLE_run_no_attr:;
 #endif
 								*pixel_ptr = out_byte;
 #endif
+#ifdef on_black
 pixel_IRLE_run_no_output:;
+#endif
 								out_byte = full_color;
 								goto pixel_IRLE_run_skip_n_pop;
 							}
@@ -935,9 +936,6 @@ pixel_IRLE_run_no_output2:;
 #if three_d || interface || translate
 pixel_IRLE_run_skip_n_pop:;
 #endif
-#if three_d
-pixel_IRLE_run_skip:
-#endif
 #if translate
 						thatch_flag ^= 1;
 #endif
@@ -1055,7 +1053,9 @@ pixel_IRLE_image_no_attr:;
 #endif
 							*pixel_ptr = out_byte;
 #endif
+#ifdef on_black
 pixel_IRLE_image_no_output:;
+#endif
 							goto pixel_IRLE_image_skip_n_pop;
 						}
 #endif
@@ -1077,9 +1077,6 @@ pixel_IRLE_image_no_output2:;
 #if three_d || interface || translate
 pixel_IRLE_image_skip_n_pop:;
 #endif
-#if three_d
-pixel_IRLE_image_skip:
-#endif
 
 #if translate
 					thatch_flag ^= 1;




More information about the Scummvm-git-logs mailing list