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

bluegr noreply at scummvm.org
Sat Aug 8 14:26:52 UTC 2026


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:
aab01176bc COMMON: add missing return statement to non-void function


Commit: aab01176bcbdf830a6615e9c0a62ef0c42d66a44
    https://github.com/scummvm/scummvm/commit/aab01176bcbdf830a6615e9c0a62ef0c42d66a44
Author: Michael Kuerbis (michael_kuerbis at web.de)
Date: 2026-08-08T17:26:47+03:00

Commit Message:
COMMON: add missing return statement to non-void function

Changed paths:
    common/ptr.h


diff --git a/common/ptr.h b/common/ptr.h
index c0fe1185ada..ffff069d52e 100644
--- a/common/ptr.h
+++ b/common/ptr.h
@@ -614,6 +614,7 @@ public:
 	 */
 	ScopedPtr &operator=(std::nullptr_t) {
 		reset(nullptr);
+		return *this;
 	}
 
 	/**




More information about the Scummvm-git-logs mailing list