]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Fix compile warnings
authorTakashi Iwai <tiwai@suse.de>
Fri, 13 May 2005 17:30:00 +0000 (17:30 +0000)
committerTakashi Iwai <tiwai@suse.de>
Fri, 13 May 2005 17:30:00 +0000 (17:30 +0000)
Fixed compile warnings with gcc4.

amixer/amixer.c

index 54a3d3fb67bd3cec8b344c99040e0fb0db616d0e..e314aa2c9909c65c4022057aaeb595979370abf3 100644 (file)
@@ -1364,6 +1364,7 @@ static int events(int argc ATTRIBUTE_UNUSED, char *argv[] ATTRIBUTE_UNUSED)
                }
        }
        snd_hctl_close(handle);
+       return 0;
 }
 
 static void sevents_value(snd_mixer_selem_id_t *sid)
@@ -1452,6 +1453,7 @@ static int sevents(int argc ATTRIBUTE_UNUSED, char *argv[] ATTRIBUTE_UNUSED)
                }
        }
        snd_mixer_close(handle);
+       return 0;
 }
 
 int main(int argc, char *argv[])