aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_asterisk.c
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 05:12:30 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2011-07-27 05:12:30 +0000
commit7318d07f8950d3469d76537ce1d96f863085ba7c (patch)
tree361d3b09b28e6847784781c70323af5dab2745c3 /plugin_asterisk.c
parent616665a32d0e4eb368c6346168e91cfeda42583f (diff)
downloadlcd4linux-7318d07f8950d3469d76537ce1d96f863085ba7c.tar.gz
various compiler warnings fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1153 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_asterisk.c')
-rw-r--r--plugin_asterisk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin_asterisk.c b/plugin_asterisk.c
index f4deb67..e1f83a8 100644
--- a/plugin_asterisk.c
+++ b/plugin_asterisk.c
@@ -66,7 +66,8 @@ static void zapstatus(RESULT * result, RESULT * arg1)
{
FILE *infile;
int skipline = 0; // Skip the first in the file, it throws off the detection
- char line[100], *SipLoc, Channel[25], Location[25], State[9], Application[25], EndPoint[8], Ret[50];
+ char line[100], *SipLoc, Channel[25], Location[25], __attribute__ ((unused)) State[9], Application[25], EndPoint[8],
+ Ret[50];
int i = 0, ChannelInt = 0, ZapLine = 0;
struct Line Lines[32]; // Setup 32 lines, ZAP 1-32 (memory is cheap)