fixed compile warnings.

This commit is contained in:
Takashi Iwai 2004-04-15 12:52:49 +00:00
parent 494f3e66e4
commit 965222c3d9
4 changed files with 18 additions and 11 deletions

View file

@ -1105,7 +1105,7 @@ static int simple_compare(const snd_mixer_elem_t *c1, const snd_mixer_elem_t *c2
* \return 0 on success otherwise a negative error code
*/
int snd_mixer_selem_register(snd_mixer_t *mixer, struct
snd_mixer_selem_regopt *options,
snd_mixer_selem_regopt *options ATTRIBUTE_UNUSED,
snd_mixer_class_t **classp)
{
snd_mixer_class_t *class = calloc(1, sizeof(*class));