mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
misc: Fix a small pile of warnings found with diagnostics turned way up
* possible null pointer dereferences * non-annotated fallthroughs in case statements Change-Id: I2332e0e0a4203ceca0999291ead112b8ab94c613
This commit is contained in:
parent
d51d49550c
commit
34f34bb7f1
9 changed files with 46 additions and 43 deletions
|
@ -88,6 +88,7 @@ void audio_input_mux(int source, unsigned flags)
|
|||
{
|
||||
default: /* playback - no recording */
|
||||
source = AUDIO_SRC_PLAYBACK;
|
||||
/* Intentional fallthrough */
|
||||
case AUDIO_SRC_PLAYBACK:
|
||||
#ifdef HAVE_RECORDING
|
||||
if (source != last_source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue