Fix for envy24control and midi

Fix by Dirk Jagdmann <doj@cubic.org>:
The attached patch fixes a compiler warning, which points to a possible
bug when initializing the midi controllers.
This commit is contained in:
Takashi Iwai 2005-01-07 14:26:51 +00:00
parent b568eeefd7
commit 12cf761844

View file

@ -1948,7 +1948,7 @@ int main(int argc, char **argv)
snd_ctl_elem_value_t *val;
int npfds;
struct pollfd *pfds;
int midi_fd, midi_channel = -1;
int midi_fd = -1, midi_channel = -1;
int page;
int input_channels_set = 0;
int output_channels_set = 0;