summaryrefslogtreecommitdiff
path: root/xpp/echo_loader.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/echo_loader.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/echo_loader.c')
-rw-r--r--xpp/echo_loader.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xpp/echo_loader.c b/xpp/echo_loader.c
index cbe6048..f5f28d3 100644
--- a/xpp/echo_loader.c
+++ b/xpp/echo_loader.c
@@ -123,7 +123,7 @@ static void usb_buffer_showstatistics(struct astribank_device *astribank, struct
long usec;
usec = usb_buffer_usec(ub);
- AB_INFO(astribank, "Octasic statistics: packet_size=[%d, %ld, %d] packets=%d, bytes=%ld msec=%ld usec/packet=%d\n",
+ AB_INFO(astribank, "Octasic statistics: packet_size=[%d, %ld, %d] packets=%d, bytes=%ld msec=%ld usec/packet=%ld\n",
ub->min_send,
ub->total_bytes / ub->num_sends,
ub->max_send,
@@ -822,9 +822,7 @@ UINT32 init_octasic(char *filename, struct astribank_device *astribank, int is_a
int load_echo(struct astribank_device *astribank, char *filename, int is_alaw)
{
- int iLen;
int ret;
- unsigned char *pbyFileData = NULL;
UINT32 octasic_status;
AB_INFO(astribank, "Loading ECHOCAN Firmware: %s (%s)\n",