summaryrefslogtreecommitdiff
path: root/xpp/astribank_license.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-20 06:27:21 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2012-03-20 06:27:21 +0000
commit193e173765f9ef1b417df0e696704df94fa5aec0 (patch)
treec52378807783c5c996091a1296652d543cbd819d /xpp/astribank_license.c
parentb4ba4b492e0e5e2bf2cfc7c6ba3f14cc29c6f2f6 (diff)
xpp: fix build warnings
Unlike original: also fixed fpga_load. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10543 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.6@10548 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;