aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to 'src/output')
-rw-r--r--src/output/AlsaOutputPlugin.cxx2
-rw-r--r--src/output/JackOutputPlugin.cxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/output/AlsaOutputPlugin.cxx b/src/output/AlsaOutputPlugin.cxx
index 17fc91d1a..7d0e9e09c 100644
--- a/src/output/AlsaOutputPlugin.cxx
+++ b/src/output/AlsaOutputPlugin.cxx
@@ -257,7 +257,7 @@ get_bitformat(enum sample_format sample_format)
}
assert(false);
- return SND_PCM_FORMAT_UNKNOWN;
+ gcc_unreachable();
}
static snd_pcm_format_t
diff --git a/src/output/JackOutputPlugin.cxx b/src/output/JackOutputPlugin.cxx
index 3bc9cee8f..4f21b36f8 100644
--- a/src/output/JackOutputPlugin.cxx
+++ b/src/output/JackOutputPlugin.cxx
@@ -696,6 +696,7 @@ mpd_jack_write_samples(JackOutput *jd, const void *src,
default:
assert(false);
+ gcc_unreachable();
}
}