void-packages/srcpkgs/grub/patches/error-maybe-uninitialized.patch
2015-12-18 15:59:37 +01:00

11 lines
428 B
Diff

--- util/grub-gen-asciih.c.orig 2015-12-18 15:55:41.000754229 +0100
+++ util/grub-gen-asciih.c 2015-12-18 15:56:14.296668022 +0100
@@ -128,7 +128,7 @@ add_glyph (FT_UInt glyph_idx, FT_Face fa
static void
write_font_ascii_bitmap (FILE *file, FT_Face face)
{
- struct grub_glyph_info glyph;
+ struct grub_glyph_info glyph = {};
int char_code;
fprintf (file, "/* THIS CHUNK OF BYTES IS AUTOMATICALLY GENERATED */\n");