[SF#537] Fix FTBFS on !linux archs without ALSA.
authorPino Toscano <pino@debian.org>
Sun, 20 Nov 2016 14:43:03 +0000 (16:43 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sun, 20 Nov 2016 14:43:03 +0000 (16:43 +0200)
plugins/volumealsa/volumealsa.c

index 5721148..3959b74 100644 (file)
@@ -1333,9 +1333,9 @@ static GtkWidget *volumealsa_configure(LXPanel *panel, GtkWidget *p)
     GtkTreeIter iter;
     int active = 0;
     int i = 0;
-#ifndef DISABLE_ALSA
     int j = -1;
 
+#ifndef DISABLE_ALSA
     snd_mixer_selem_id_alloca(&sid);
     /* setup card selector */
     list = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_INT); /* desc, num */