From 3f46ce1da2b8785c002a3ab844d681a7cb69037d Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Mon, 15 Apr 2019 16:45:44 -0400 Subject: [PATCH] FS-11785 [mod_commands] tell scan-build that exten pointer is guaranteed not to be NULL --- src/mod/applications/mod_commands/mod_commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 64a97ad866..ef9d1bb880 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -5044,6 +5044,8 @@ SWITCH_STANDARD_API(originate_function) cid_name = argv[i++]; cid_num = argv[i++]; + switch_assert(exten); + if (!dp) { dp = "XML"; }