changeset 14330:9d3ff97e8105

[gaim-migrate @ 17025] fix CID 175, 176 (unused values) committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 24 Aug 2006 21:09:45 +0000
parents 479164e18f1a
children d29fc3b5d402
files libgaim/protocols/silc/ops.c
diffstat 1 files changed, 3 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libgaim/protocols/silc/ops.c	Thu Aug 24 20:25:57 2006 +0000
+++ b/libgaim/protocols/silc/ops.c	Thu Aug 24 21:09:45 2006 +0000
@@ -445,7 +445,6 @@
 	SilcHashTableList htl;
 	SilcChannelUser chu;
 	char buf[512], buf2[512], *tmp, *name;
-	SilcBuffer buffer;
 	SilcNotifyType notify;
 	GaimBuddy *b;
 	int i;
@@ -461,7 +460,7 @@
 	case SILC_NOTIFY_TYPE_INVITE:
 		{
 			GHashTable *components;
-			channel = va_arg(va, SilcChannelEntry);
+			va_arg(va, SilcChannelEntry);
 			name = va_arg(va, char *);
 			client_entry = va_arg(va, SilcClientEntry);
 
@@ -616,7 +615,7 @@
 		(void)va_arg(va, char *);
 		(void)va_arg(va, char *);
 		(void)va_arg(va, SilcPublicKey);
-		buffer = va_arg(va, SilcBuffer);
+		(void)va_arg(va, SilcBuffer);
 		channel = va_arg(va, SilcChannelEntry);
 
 		convo = gaim_find_conversation_with_account(GAIM_CONV_TYPE_CHAT,
@@ -1509,7 +1508,6 @@
 	case SILC_COMMAND_INFO:
 		{
 
-			SilcServerEntry server_entry;
 			char *server_name;
 			char *server_info;
 			char tmp[256];
@@ -1521,7 +1519,7 @@
 				return;
 			}
 
-			server_entry = va_arg(vp, SilcServerEntry);
+			(void)va_arg(vp, SilcServerEntry);
 			server_name = va_arg(vp, char *);
 			server_info = va_arg(vp, char *);