[Scummvm-git-logs] scummvm master -> e8131bcc5c1d722962816ab0744687a10306b0f9
ccawley2011
noreply at scummvm.org
Wed Dec 4 22:37:01 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:
e8131bcc5c COMMON: Fix uninitialised variable in Path::punycodeNeedsEncode()
Commit: e8131bcc5c1d722962816ab0744687a10306b0f9
https://github.com/scummvm/scummvm/commit/e8131bcc5c1d722962816ab0744687a10306b0f9
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-12-04T22:36:47Z
Commit Message:
COMMON: Fix uninitialised variable in Path::punycodeNeedsEncode()
Changed paths:
common/path.cpp
diff --git a/common/path.cpp b/common/path.cpp
index 58e35d0b167..5b413e3dcbb 100644
--- a/common/path.cpp
+++ b/common/path.cpp
@@ -1026,7 +1026,7 @@ Path Path::punycodeEncode() const {
}
bool Path::punycodeNeedsEncode() const {
- bool tmp;
+ bool tmp = false;
return reduceComponents<bool &>(
[](bool &result, const String &in, bool last) -> bool & {
// If we already need encode, we still need it
More information about the Scummvm-git-logs
mailing list