mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-14 01:49:05 +00:00
Merge pull request #5 in FS/freeswitch from ~KATHLEEN.KING/freeswitch-fork:clang-warnings-werror to master
* commit '1affff9db4aaa29ab66f9f5db76f575eeabd86b5': Fixed a clang-3.5 missing-prototype warning and added doxygen documentation for switch_channel_set_presence_data_vals. #doxygen Fixed dead code. Fixed trucation of value warning. Removed a useless called to abs. Removed an autological-pointer-compare from src/switch_utils.c. Fixed trucation of value warning.
This commit is contained in:
@@ -1560,10 +1560,6 @@ SWITCH_DECLARE(switch_status_t) switch_find_local_ip(char *buf, int len, int *ma
|
||||
goto doh;
|
||||
}
|
||||
|
||||
if (iface_out.sin6_addr.s6_addr == 0) {
|
||||
goto doh;
|
||||
}
|
||||
|
||||
inet_ntop(AF_INET6, (const void *) &iface_out.sin6_addr, buf, len - 1);
|
||||
status = SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user