commit 32b00174a97e6f992c952232d69928886e19f2fd
parent 86aef1960f5cc909cdebf87463898357e9e3a848
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 1 Nov 2018 08:11:58 +0100
Initialize seqGrab and seqTok to NULL
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/loaders/ansi.c b/src/loaders/ansi.c
@@ -103,8 +103,8 @@ int ansilove_ansi(struct ansilove_ctx *ctx, struct ansilove_options *options)
/* sequence parsing variables */
uint32_t seqValue, seq_line, seq_column;
- char *seqGrab;
- char *seqTok;
+ char *seqGrab = NULL;
+ char *seqTok = NULL;
/* ANSi buffer structure array definition */
uint32_t structIndex = 0;