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

eriktorbjorn noreply at scummvm.org
Sun Apr 27 14:20:21 UTC 2025


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:
f235d746d0 GUI: Fix probably harmless GCC warning


Commit: f235d746d00f0b5896c567ce2ce0cfc70d87bed2
    https://github.com/scummvm/scummvm/commit/f235d746d00f0b5896c567ce2ce0cfc70d87bed2
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2025-04-27T16:19:59+02:00

Commit Message:
GUI: Fix probably harmless GCC warning

Changed paths:
    gui/integrity-dialog.cpp


diff --git a/gui/integrity-dialog.cpp b/gui/integrity-dialog.cpp
index a969365907f..5976c50022e 100644
--- a/gui/integrity-dialog.cpp
+++ b/gui/integrity-dialog.cpp
@@ -183,10 +183,11 @@ void IntegrityDialog::open() {
 }
 
 void IntegrityDialog::close() {
-	if (g_checksum_state)
+	if (g_checksum_state) {
 		g_checksum_state->dialog = nullptr;
 		delete g_checksum_state;
 		g_checksum_state = nullptr;
+	}
 	
 	if (g_result) {
 		delete g_result;




More information about the Scummvm-git-logs mailing list