summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-02-13 07:10:03 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-02-13 07:10:03 +0100
commit06cc651cfabe70e86cb465d70b10f7cbf8fea95e (patch)
treef9bcb490af195e23d19d84bd73cc27a3e31b8235 /src
parente40037fd7a922132015340a758468cb5dec71096 (diff)
zeroing
Diffstat (limited to 'src')
-rw-r--r--src/wayclock.cc6
1 files changed, 3 insertions, 3 deletions
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);