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

@ -276,6 +276,8 @@ static inline int snd_pcm_check_error(snd_pcm_t *pcm, int err)
return -ESTRPIPE;
case SND_PCM_STATE_DISCONNECTED:
return -ENOTTY;
default:
break;
}
}
return err;