[Scummvm-git-logs] scummvm master -> cb1e11198d7322495cd8ec31044a3f049652bd55
lephilousophe
noreply at scummvm.org
Sat Oct 17 14:43:58 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:
cb1e11198d HARVESTER: Don't use a static variable
Commit: cb1e11198d7322495cd8ec31044a3f049652bd55
https://github.com/scummvm/scummvm/commit/cb1e11198d7322495cd8ec31044a3f049652bd55
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-10-17T16:43:31+02:00
Commit Message:
HARVESTER: Don't use a static variable
Changed paths:
engines/harvester/script.h
diff --git a/engines/harvester/script.h b/engines/harvester/script.h
index 0f6ade5c563..dae5b6d7714 100644
--- a/engines/harvester/script.h
+++ b/engines/harvester/script.h
@@ -278,8 +278,7 @@ public:
}
const Common::String &roomName() const {
- static const Common::String noRoom;
- return _roomName ? *_roomName : noRoom;
+ return _roomName ? *_roomName : "";
}
private:
More information about the Scummvm-git-logs
mailing list