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

digitall noreply at scummvm.org
Tue Nov 26 20:24:09 UTC 2024


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:
b52df3baf5 M4: Fix Set But Unused Variable GCC Compiler Warnings


Commit: b52df3baf5c8c42c22b14a337cb243128412da4c
    https://github.com/scummvm/scummvm/commit/b52df3baf5c8c42c22b14a337cb243128412da4c
Author: D G Turner (digitall at scummvm.org)
Date: 2024-11-26T20:23:35Z

Commit Message:
M4: Fix Set But Unused Variable GCC Compiler Warnings

Changed paths:
    engines/m4/adv_r/conv_io.cpp


diff --git a/engines/m4/adv_r/conv_io.cpp b/engines/m4/adv_r/conv_io.cpp
index 3e90074d95b..4341f2023c4 100644
--- a/engines/m4/adv_r/conv_io.cpp
+++ b/engines/m4/adv_r/conv_io.cpp
@@ -552,7 +552,6 @@ static Conv *conv_restore_state(Conv *c) {
 	entry_chunk *entry;
 	decl_chunk *decl;
 
-	int32 num_decls = 0, num_entries = 0;
 	short flag_index = 0;
 	int32 val;
 	int32 e_flags = 0;
@@ -596,10 +595,10 @@ static Conv *conv_restore_state(Conv *c) {
 	myCNode = READ_LE_UINT32(&conv_save_buff[offset]);
 	offset += sizeof(int32);
 
-	num_decls = READ_LE_UINT32(&conv_save_buff[offset]);
+	/*int num_decls = */READ_LE_UINT32(&conv_save_buff[offset]);
 	offset += sizeof(int32);
 
-	num_entries = READ_LE_UINT32(&conv_save_buff[offset]);
+	/*int num_entries = */READ_LE_UINT32(&conv_save_buff[offset]);
 	offset += sizeof(int32);
 
 	ent = 0; c->myCNode = 0;




More information about the Scummvm-git-logs mailing list