summaryrefslogtreecommitdiff
path: root/xpp/echo_loader.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/echo_loader.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/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 8077b0a..17ab108 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,
@@ -801,9 +801,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",