summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_dahdi.c1
-rw-r--r--main/say.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 38a894395..0db84df1f 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -8051,6 +8051,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
#else
ast_log(LOG_WARNING, "Received bits changed on %s signalling?\n", sig2str(p->sig));
#endif
+ break;
case DAHDI_EVENT_PULSE_START:
/* Stop tone if there's a pulse start and the PBX isn't started */
if (!ast_channel_pbx(ast))
diff --git a/main/say.c b/main/say.c
index f4db3e0f0..9d6d4b16c 100644
--- a/main/say.c
+++ b/main/say.c
@@ -6127,6 +6127,9 @@ int ast_say_date_with_format_zh(struct ast_channel *chan, time_t t, const char *
if (tm.tm_hour < 10) {
res = wait_file(chan, ints, "digits/0", lang);
}
+ /* XXX Static analysis warns of no break here. No idea if this is
+ * correct or not
+ */
case 'k':
/* 24-Hour */
if (!(tm.tm_hour % 10) || tm.tm_hour < 10) {