silence warnings by initializing all HitObject fields

This commit is contained in:
jacekpoz 2024-04-19 09:44:11 +02:00
parent 8c401c785b
commit 9b5e643c42
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -114,6 +114,8 @@ int main(int argc, char *argv[]) {
.x = 400, .x = 400,
.y = 300, .y = 300,
.time = 2000, .time = 2000,
.type = HitObjectType(),
.hitSound = HitSound(),
}, },
diff, diff,
1 1
@ -125,6 +127,8 @@ int main(int argc, char *argv[]) {
.x = 500, .x = 500,
.y = 200, .y = 200,
.time = 2500, .time = 2500,
.type = HitObjectType(),
.hitSound = HitSound(),
}, },
diff, diff,
2 2