From 06cc651cfabe70e86cb465d70b10f7cbf8fea95e Mon Sep 17 00:00:00 2001 From: Fabrice Date: Fri, 13 Feb 2026 07:10:03 +0100 Subject: zeroing --- src/wayclock.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/wayclock.cc b/src/wayclock.cc index dc52aed..f9d00f4 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -101,17 +101,17 @@ int main() { wayc_panic("Failed to initialize font"); wayc_defer(wayc_font_deinit(&font)); - struct glyph_s glyph_A; + struct glyph_s glyph_A = {}; if (wayc_font_render(&font, (codepoint_t)'A', &glyph_A) != FONT_ERROR_NONE) wayc_panic("Failed to render glyph"); glyph_print(&glyph_A); - struct glyph_s glyph_X; + struct glyph_s glyph_X = {}; if (wayc_font_render(&font, (codepoint_t)'X', &glyph_X) != FONT_ERROR_NONE) wayc_panic("Failed to render glyph"); glyph_print(&glyph_X); - struct glyph_s glyph_0; + struct glyph_s glyph_0 = {}; if (wayc_font_render(&font, (codepoint_t)'0', &glyph_0) != FONT_ERROR_NONE) wayc_panic("Failed to render glyph"); glyph_print(&glyph_0); -- cgit v1.2.3