OSDN Git Service

Fix compile warning
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2005 13:08:28 +0000 (13:08 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2005 13:08:28 +0000 (13:08 +0000)
Fix compile warning (forgot return 0).

src/pcm/pcm_direct.c

index 7b54654..8d6ba82 100644 (file)
@@ -429,6 +429,7 @@ int snd_pcm_direct_timer_stop(snd_pcm_direct_t *dmix)
 {
        snd_timer_stop(dmix->timer);
        snd_pcm_direct_clear_timer_queue(dmix);
+       return 0;
 }
 
 int snd_pcm_direct_poll_revents(snd_pcm_t *pcm, struct pollfd *pfds, unsigned int nfds, unsigned short *revents)