audiod: Fix status item parsing for long status items.
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index 44904ac54088124f695a63bb62a7e49867442f78..38fcdfe7914a7afeb63ee37e6db43b32abfebbed 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1998-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1998-2010 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -107,7 +107,7 @@ static int open_and_set_mixer_channel(int volume)
 
 static void fixup_mixer_channel_arg(void)
 {
-       int val;
+       int val = SOUND_MIXER_VOLUME; /* STFU, gcc */
 
        switch (conf.mixer_channel_arg) {
                case mixer_channel_arg_volume: val = SOUND_MIXER_VOLUME; break;