fix warning : wrong variable initialised in second switch default

Original commit message from CVS:
fix warning : wrong variable initialised in second switch default
This commit is contained in:
Stéphane Loeuillet 2005-01-09 20:25:46 +00:00
parent 9ddb75373d
commit 50d0a47a88
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-01-09 Stephane LOEUILLET <stephane.loeuillet@tiscali.fr>
* ext/dvdread/stream_labels.c:
(dvdreadsrc_get_audio_stream_labels):
Fix warning (init the good variable in switch default)
2005-01-09 Koop Mast <kwm@rainbow-runner.nl>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>

View file

@ -216,7 +216,7 @@ dvdreadsrc_get_audio_stream_labels (ifo_handle_t * vts_file,
channel_nb = g_strdup (_("5.1"));
break;
default:
format = g_strdup ("?");
channel_nb = g_strdup ("?");
}
streamlabel = g_string_new ("");
g_string_printf (streamlabel, "%u : %s, %s %s", i + 1, language, format,