fixed -Wmaybe-uninitialized for *line
authorMichael Göhler <somebody.here@gmx.de>
Thu, 18 Sep 2014 20:17:30 +0000 (22:17 +0200)
committerMichael Göhler <somebody.here@gmx.de>
Thu, 18 Sep 2014 20:17:30 +0000 (22:17 +0200)
parser.c

index ec341ab..9c5d628 100644 (file)
--- 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