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

Strangerke noreply at scummvm.org
Mon May 27 22:37:46 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:
ea43fb5685 BAGEL: Remove handleError which isn't used


Commit: ea43fb56850cf00f64e698cbb3412f1ea97bbd55
    https://github.com/scummvm/scummvm/commit/ea43fb56850cf00f64e698cbb3412f1ea97bbd55
Author: Strangerke (arnaud.boutonne at gmail.com)
Date: 2024-05-27T23:37:40+01:00

Commit Message:
BAGEL: Remove handleError which isn't used

Changed paths:
    engines/bagel/baglib/object.h
    engines/bagel/baglib/storage_dev_win.cpp
    engines/bagel/baglib/storage_dev_win.h


diff --git a/engines/bagel/baglib/object.h b/engines/bagel/baglib/object.h
index c7f6271a182..eeb2bed5260 100644
--- a/engines/bagel/baglib/object.h
+++ b/engines/bagel/baglib/object.h
@@ -383,11 +383,6 @@ public:
 	 */
 	ParseCodes setInfo(CBagIfstream &istr) override;
 
-	virtual int handleError(int nErrID) {
-		assert(!nErrID);
-		return nErrID;
-	}
-
 	virtual ErrorCode update(CBofBitmap *pBmp, CBofPoint pt, CBofRect *pSrcRect = nullptr, int /*nMaskColor*/ = -1);
 
 	virtual bool onObjInteraction(CBagObject * /*pObj*/, CBagStorageDev * /*pSDev*/) {
diff --git a/engines/bagel/baglib/storage_dev_win.cpp b/engines/bagel/baglib/storage_dev_win.cpp
index 761efd95be7..5023103afcd 100644
--- a/engines/bagel/baglib/storage_dev_win.cpp
+++ b/engines/bagel/baglib/storage_dev_win.cpp
@@ -927,10 +927,6 @@ CBagObject *CBagStorageDev::getObject(const CBofPoint &xPoint, bool bActiveOnly)
 }
 
 
-void CBagStorageDev::handleError(ErrorCode errCode) {
-}
-
-
 ParseCodes CBagStorageDev::setInfo(CBagIfstream &fpInput) {
 	char szStr[256];
 	szStr[0] = 0;
diff --git a/engines/bagel/baglib/storage_dev_win.h b/engines/bagel/baglib/storage_dev_win.h
index da14c3d1496..df2769dd1dd 100644
--- a/engines/bagel/baglib/storage_dev_win.h
+++ b/engines/bagel/baglib/storage_dev_win.h
@@ -283,8 +283,6 @@ public:
 
 	ErrorCode paintStorageDevice(CBofWindow *pWnd, CBofBitmap *pBmp = nullptr, CBofRect * = nullptr);
 
-	virtual void handleError(ErrorCode errCode);
-
 	// The associated window describes which window to get screen information from and
 	// where to paint objects and most importantly what info to send to the callbacks
 	virtual void setAssociateWnd(CBofWindow *pWnd) {




More information about the Scummvm-git-logs mailing list