aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_asterisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugin_asterisk.c')
-rw-r--r--plugin_asterisk.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugin_asterisk.c b/plugin_asterisk.c
index 79b03b7..07fec40 100644
--- a/plugin_asterisk.c
+++ b/plugin_asterisk.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_asterisk.c 1036 2009-07-18 03:10:52Z michael $
+/* $Id: plugin_asterisk.c 1153 2011-07-27 05:12:30Z michael $
* $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/plugin_asterisk.c $
*
* plugin for asterisk
@@ -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)