From 7318d07f8950d3469d76537ce1d96f863085ba7c Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 27 Jul 2011 05:12:30 +0000 Subject: various compiler warnings fixed git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1153 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_asterisk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugin_asterisk.c') 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) -- cgit v1.2.3