[Scummvm-git-logs] scummvm master -> 5c1628dda7f0919b9014442950953a8d79e4bb40
tnm23
noreply at scummvm.org
Tue Jan 27 16:22:11 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:
5c1628dda7 COMMON:ARCHIVE: Code formatting compliance.
Commit: 5c1628dda7f0919b9014442950953a8d79e4bb40
https://github.com/scummvm/scummvm/commit/5c1628dda7f0919b9014442950953a8d79e4bb40
Author: Thomas N McEwan (46427621+tnm23 at users.noreply.github.com)
Date: 2026-01-27T16:21:38Z
Commit Message:
COMMON:ARCHIVE: Code formatting compliance.
Do simple flag check before longer function call.
Changed paths:
common/archive.cpp
diff --git a/common/archive.cpp b/common/archive.cpp
index 8f1f3478f44..1fbc38e75d6 100644
--- a/common/archive.cpp
+++ b/common/archive.cpp
@@ -341,7 +341,7 @@ void SearchSet::insert(const Node &node) {
}
void SearchSet::add(const String &name, Archive *archive, int priority, bool autoFree) {
- if ( (find(name) == _list.end()) || _ignoreClashes ) {
+ if (_ignoreClashes || (find(name) == _list.end())) {
Node node(priority, name, archive, autoFree);
insert(node);
} else {
More information about the Scummvm-git-logs
mailing list