changeset 32207:e40d435554b6

Add an #ifdef to avoid unused variable warnings when iconv is disabled.
author diego
date Fri, 17 Sep 2010 14:58:17 +0000
parents 1c5723d12503
children 4cd07921bec2
files gui/mplayer/gtk/opts.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gui/mplayer/gtk/opts.c	Fri Sep 17 10:35:15 2010 +0000
+++ b/gui/mplayer/gtk/opts.c	Fri Sep 17 14:58:17 2010 +0000
@@ -818,9 +818,11 @@
   GtkWidget * vbox6;
   GtkWidget * vbox600;
   GSList    * OSD_group = NULL;
+#ifdef CONFIG_ICONV
   GSList    * Font_group = NULL;
   GList     * CBFontEncoding_items = NULL;
   GList	    * CBSubEncoding_items = NULL;
+#endif
   GtkWidget * vbox7;
   GtkWidget * vbox8;
   GtkWidget * table1;