changeset 2563:29d09f9ce85f

[gaim-migrate @ 2576] Fixed an unused variable warning. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 21 Oct 2001 00:14:41 +0000
parents 6a9438d32268
children 552a56d334ec
files src/protocols/gg/gg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/gg/gg.c	Sat Oct 20 18:41:47 2001 +0000
+++ b/src/protocols/gg/gg.c	Sun Oct 21 00:14:41 2001 +0000
@@ -1,6 +1,6 @@
 /*
  * gaim - Gadu-Gadu Protocol Plugin
- * $Id: gg.c 2555 2001-10-18 21:44:09Z warmenhoven $
+ * $Id: gg.c 2576 2001-10-21 00:14:41Z robflynn $
  *
  * Copyright (C) 2001, Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
  * 
@@ -92,8 +92,8 @@
 
 static gchar *charset_convert(const gchar *locstr, char *encsrc, char *encdst)
 {
+#ifdef HAVE_ICONV
 	gchar *result = NULL;
-#ifdef HAVE_ICONV
 	if (iconv_string(encdst, encsrc, locstr, locstr+strlen(locstr)+1, &result, NULL) >= 0)
 		return result;
 #endif