[Scummvm-git-logs] scummvm master -> e322c0005fb1d46dcd664cbd7044be85fd689ccc
digitall
noreply at scummvm.org
Thu Feb 12 20:11:55 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:
e322c0005f JANITORIAL: M4: restore default initializers to buffer struct
Commit: e322c0005fb1d46dcd664cbd7044be85fd689ccc
https://github.com/scummvm/scummvm/commit/e322c0005fb1d46dcd664cbd7044be85fd689ccc
Author: Michael Kuerbis (michael_kuerbis at web.de)
Date: 2026-02-12T20:11:50Z
Commit Message:
JANITORIAL: M4: restore default initializers to buffer struct
Changed paths:
engines/m4/m4_types.h
diff --git a/engines/m4/m4_types.h b/engines/m4/m4_types.h
index ca1ca4b69fa..f91e3213cf6 100644
--- a/engines/m4/m4_types.h
+++ b/engines/m4/m4_types.h
@@ -52,11 +52,11 @@ enum {
};
struct Buffer {
- int32 w;
- int32 h;
- uint8 *data;
- uint8 encoding;
- int32 stride;
+ int32 w = 0;
+ int32 h = 0;
+ uint8 *data = nullptr;
+ uint8 encoding = 0;
+ int32 stride = 0;
constexpr Buffer() = default;
constexpr Buffer(int32 w, int32 h, uint8 *data, uint8 encoding, int32 stride)
More information about the Scummvm-git-logs
mailing list