diff options
author | Matthew Jordan <mjordan@digium.com> | 2015-03-28 12:27:08 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2015-03-28 12:27:08 +0000 |
commit | 844bc76bef50be6bdeaf10010d9024ffd6aca948 (patch) | |
tree | 4cca53685bf8d53ce7c00f50cf774f59a1782a46 /channels | |
parent | 5e204042d9f24083de56e267ad752abf16820f97 (diff) |
clang compiler warnings: Fix -Winitializer-overrides
This patch fixes clange compiler warnings for initializer overrides.
Specifically:
res_pjsip/config_transport maps PJSIP_TLSV1_METHOD to the same enumeration
value as PJSIP_SSL_DEFAULT_METHOD. When initializing an array containing
those enum values, we therefore initialize the value twice to two different
values, "tlsv1" and "default". This patch changes it to just initialize
the index in the array to "tlsv1".
Review: https://reviewboard.asterisk.org/r/4539/
ASTERISK-24917
Reported by: dkdegroot
patches:
rb4539.patch submitted by dkdegroot (License 6600)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
0 files changed, 0 insertions, 0 deletions