summaryrefslogtreecommitdiff
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-01-15 05:33:33 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2021-01-15 16:31:19 -0300
commitf8650a9580cf61cf97011511d8a1fd53346ac99c (patch)
treec9860b9bcbc5b308c806977d603e67d8ae996c14 /src/core/file_sys
parent3ff978aa4f6b9d46179e41c36825eb06e7f8d60c (diff)
core: Silence Wclass-memaccess warnings
This requires making several types trivial and properly initialize them whenever they are called.
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/savedata_factory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/savedata_factory.h b/src/core/file_sys/savedata_factory.h
index 17f774baa..86c9f5350 100644
--- a/src/core/file_sys/savedata_factory.h
+++ b/src/core/file_sys/savedata_factory.h
@@ -58,7 +58,7 @@ struct SaveDataAttribute {
SaveDataType type;
SaveDataRank rank;
u16 index;
- INSERT_PADDING_BYTES(4);
+ INSERT_PADDING_BYTES_NOINIT(4);
u64 zero_1;
u64 zero_2;
u64 zero_3;
@@ -72,7 +72,7 @@ struct SaveDataExtraData {
u64 owner_id;
s64 timestamp;
SaveDataFlags flags;
- INSERT_PADDING_BYTES(4);
+ INSERT_PADDING_BYTES_NOINIT(4);
s64 available_size;
s64 journal_size;
s64 commit_id;