mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
fixed compile warnings.
This commit is contained in:
parent
494f3e66e4
commit
965222c3d9
4 changed files with 18 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue