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

eriktorbjorn noreply at scummvm.org
Thu Aug 1 20:09:21 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:
c1cdd3f44a M4: Add missing return true


Commit: c1cdd3f44af196fd03bf83026a2d33d822428f4d
    https://github.com/scummvm/scummvm/commit/c1cdd3f44af196fd03bf83026a2d33d822428f4d
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2024-08-01T22:08:53+02:00

Commit Message:
M4: Add missing return true

Though nothing checks the return value from this function at the moment.

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


diff --git a/engines/m4/adv_r/adv_file.cpp b/engines/m4/adv_r/adv_file.cpp
index 23c75b3e8e0..d2445b1e370 100644
--- a/engines/m4/adv_r/adv_file.cpp
+++ b/engines/m4/adv_r/adv_file.cpp
@@ -231,7 +231,9 @@ bool kernel_load_variant(const char *variant) {
 		Buffer *scr_orig_data_buffer = scr_orig_data->get_buffer();
 		RestoreEdgeList(scr_orig_data_buffer);
 		scr_orig_data->release();
-	}	
+	}
+
+	return true;
 }
 
 GrBuff *load_codes(SysFile *code_file) {




More information about the Scummvm-git-logs mailing list