]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_loadable_...
authorAndrey Volk <andywolk@gmail.com>
Fri, 12 Jul 2019 16:20:57 +0000 (20:20 +0400)
committerAndrey Volk <andywolk@gmail.com>
Mon, 15 Jul 2019 19:41:07 +0000 (23:41 +0400)
src/include/switch_loadable_module.h

index be32c99e2ecbf25d0b26be2aabcea33954db57fc..77e7b20e2365e86e47ea2bf3170d09846911b7a5 100644 (file)
@@ -457,9 +457,6 @@ SWITCH_DECLARE(uint32_t) switch_core_codec_next_id(void);
                        return 1;
                break;
        case 48000:
-               max_ms = 40;
-               ptime_div = 2;
-               break;
        case 44100:
                max_ms = 40;
                ptime_div = 2;