[Scummvm-git-logs] scummvm master -> 3d78ac4d81ac91e1a209b5941a0f3841b1e57374

Strangerke noreply at scummvm.org
Thu May 23 07:14:42 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:
3d78ac4d81 BAGEL: Don't check for errCode in datalError(), so there's no path which returns instead or erroring out


Commit: 3d78ac4d81ac91e1a209b5941a0f3841b1e57374
    https://github.com/scummvm/scummvm/commit/3d78ac4d81ac91e1a209b5941a0f3841b1e57374
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-05-23T08:14:11+01:00

Commit Message:
BAGEL: Don't check for errCode in datalError(), so there's no path which returns instead or erroring out

Changed paths:
    engines/bagel/boflib/error.cpp


diff --git a/engines/bagel/boflib/error.cpp b/engines/bagel/boflib/error.cpp
index 86403498b1d..d747536d5e9 100644
--- a/engines/bagel/boflib/error.cpp
+++ b/engines/bagel/boflib/error.cpp
@@ -86,9 +86,6 @@ void CBofError::reportError(ErrorCode errCode, const char *format, ...) {
 }
 
 void CBofError::fatalError(ErrorCode errCode, const char *format, ...) {
-	if (errCode == ERR_NONE)
-		return;
-
 	Common::String buf;
 
 	// Don't parse the variable input if there isn't any




More information about the Scummvm-git-logs mailing list