From 9b5e643c42dc1b89126dc129c2c6e6bff0f4e0a9 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Fri, 19 Apr 2024 09:44:11 +0200 Subject: [PATCH] silence warnings by initializing all HitObject fields --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 8d7147b..a87b339 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -114,6 +114,8 @@ int main(int argc, char *argv[]) { .x = 400, .y = 300, .time = 2000, + .type = HitObjectType(), + .hitSound = HitSound(), }, diff, 1 @@ -125,6 +127,8 @@ int main(int argc, char *argv[]) { .x = 500, .y = 200, .time = 2500, + .type = HitObjectType(), + .hitSound = HitSound(), }, diff, 2