From 2bdcdce49342210036cc926b0d6b4417522f50e4 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Tue, 11 Oct 2016 23:27:24 +0200 Subject: Fix initialisation warning --- interpreter/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interpreter/print.c b/interpreter/print.c index 7a2b50b..5433fcb 100644 --- a/interpreter/print.c +++ b/interpreter/print.c @@ -10,7 +10,7 @@ #include "mem.h" void print_token(struct token *tk) { - char c = NULL; + char c = 0x00; switch (tk->kind) { case TOKEN_SEMICOLON: c = ';'; break; case TOKEN_COLON: c = ':'; break; -- cgit v1.2.3