]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11785 [mod_commands] tell scan-build that exten pointer is guaranteed not to be...
authorChris Rienzo <chris@signalwire.com>
Mon, 15 Apr 2019 20:45:44 +0000 (16:45 -0400)
committerAndrey Volk <andywolk@gmail.com>
Wed, 17 Jul 2019 16:21:46 +0000 (20:21 +0400)
src/mod/applications/mod_commands/mod_commands.c

index 64a97ad8667bc9bf56a8f42a698ac83227a0193f..ef9d1bb88066d17414dfd8e7d217c3e535278a53 100644 (file)
@@ -5044,6 +5044,8 @@ SWITCH_STANDARD_API(originate_function)
        cid_name = argv[i++];
        cid_num = argv[i++];
 
+       switch_assert(exten);
+
        if (!dp) {
                dp = "XML";
        }