diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/wayclock.cc | 6 |
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); |
