From: Michael Göhler Date: Thu, 18 Sep 2014 20:17:30 +0000 (+0200) Subject: fixed -Wmaybe-uninitialized for *line X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=4ec3d2a00fa0a10505afd7f0fe80d80ee576a738;p=smdp.git fixed -Wmaybe-uninitialized for *line --- diff --git a/parser.c b/parser.c index ec341ab..9c5d628 100644 --- a/parser.c +++ b/parser.c @@ -39,7 +39,7 @@ deck_t *markdown_load(FILE *input) { deck_t *deck = new_deck(); slide_t *slide = new_slide(); - line_t *line; + line_t *line = NULL; cstring_t *text = cstring_init(); // assign first slide to deck