[svn-commits] branch north/chan_skinny-fixup r33528 - /team/north/chan_skinny-fixup/channels/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Jun 11 14:01:49 MST 2006


Author: north
Date: Sun Jun 11 16:01:48 2006
New Revision: 33528

URL: http://svn.digium.com/view/asterisk?rev=33528&view=rev
Log:
Get rid of some compiler warnings.

Modified:
    team/north/chan_skinny-fixup/channels/chan_skinny.c

Modified: team/north/chan_skinny-fixup/channels/chan_skinny.c
URL: http://svn.digium.com/view/asterisk/team/north/chan_skinny-fixup/channels/chan_skinny.c?rev=33528&r1=33527&r2=33528&view=diff
==============================================================================
--- team/north/chan_skinny-fixup/channels/chan_skinny.c (original)
+++ team/north/chan_skinny-fixup/channels/chan_skinny.c Sun Jun 11 16:01:48 2006
@@ -1393,7 +1393,6 @@
 static void transmit_tone(struct skinnysession *s, int tone)
 {
 	skinny_req *req;
-	struct skinny_device *d = s->device;
 
 	if (tone == SKINNY_NOTONE) {
 		/* This is bad, mmm'kay? */
@@ -1536,17 +1535,21 @@
 	transmit_response(s, req);
 }
 
+/*
 static int has_voicemail(struct skinny_line *l)
 {
 	return ast_app_has_voicemail(l->mailbox, NULL);
 }
+*/
 
 static void do_housekeeping(struct skinnysession *s)
 {
+/*
 	int new;
 	int old;
 	struct skinny_device *d = s->device;
 	struct skinny_line *l = d->lines;
+*/
 
 	transmit_displaymessage(s, NULL);
 
@@ -2669,13 +2672,13 @@
 	struct skinny_device *d = s->device;
 	struct skinny_line *l;
 	struct skinny_subchannel *sub;
-	struct skinny_speeddial *sd;
+	/*struct skinny_speeddial *sd;*/
 	struct ast_channel *c;
 	pthread_t t;
 	int event;
 	int instance;
 	int unknown1;
-	int res = 0;
+	/*int res = 0;*/
 
 	event = letohl(req->data.stimulus.stimulus);
 	instance = letohl(req->data.stimulus.stimulusInstance);
@@ -3367,7 +3370,7 @@
 	int event;
 	int instance;
 	int reference;
-	int res;
+	/*int res;*/
 
 	event = letohl(req->data.softkeyeventmessage.softKeyEvent);
 	instance = letohl(req->data.softkeyeventmessage.instance);



More information about the svn-commits mailing list