summaryrefslogtreecommitdiff
path: root/xpp/astribank_license.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-19 16:57:24 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-19 16:57:24 +0000
commit1a71b80a25cbd74c08a1f892f5f7fb8b15626665 (patch)
treee6c57b5409fd33c1eed408ffe4c8c45aee2d33bf /xpp/astribank_license.c
parent9a18c8f0aef68a633b4413c7dfe7fc10bca17c49 (diff)
xpp: fix build warnings
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10543 a0bf4364-ded3-4de4-8d8a-66a801d63aff
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;