summaryrefslogtreecommitdiff
path: root/xpp/astribank_license.c
diff options
context:
space:
mode:
Diffstat (limited to 'xpp/astribank_license.c')
-rw-r--r--xpp/astribank_license.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/xpp/astribank_license.c b/xpp/astribank_license.c
index 8eeb7c2..93c0d26 100644
--- a/xpp/astribank_license.c
+++ b/xpp/astribank_license.c
@@ -22,6 +22,7 @@
#include <errno.h>
#include <stdio.h>
+#include <ctype.h>
#include <string.h>
#include <debug.h>
#include "astribank_license.h"
@@ -230,7 +231,7 @@ int read_from_file(
char buf[256];
char *line, *key, *value;
int lineno = 0;
- unsigned int license_marker_begin;
+ unsigned int license_marker_begin = 0;
unsigned int license_marker_end;
struct table {
struct eeprom_table eeprom_table;