mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-02 01:25:11 +00:00
more pedantic standards?
This commit is contained in:
1 parent
216ca57338
commit
c3e3f818e8
32 files changed
+128
-113
No files matched your search
@@ -418,7 +418,7 @@ parseUrlParams (char *url_param, sipUrl_t *sipUrl, genUrl_t *genUrl)
|
||||
char *param_val;
|
||||
char *url_other_param = NULL;
|
||||
uint16_t i;
|
||||
uint32_t ttl_val;
|
||||
// uint32_t ttl_val;
|
||||
unsigned long strtoul_result;
|
||||
char *strtoul_end;
|
||||
|
||||
@@ -4496,7 +4496,7 @@ sippmh_parse_message_summary(sipMessage_t *pSipMessage, sipMessageSummary_t *mes
|
||||
|
||||
if (token_found) {
|
||||
errno = 0;
|
||||
strtol_result = (temp, &strtol_end, 10);
|
||||
strtol_result = strtol(temp, &strtol_end, 10);
|
||||
|
||||
if (errno || temp == strtol_end || strtol_result > INT_MAX) {
|
||||
return SIP_ERROR;
|
||||
|
||||
@@ -325,7 +325,7 @@ char *
|
||||
sipsdp_write_to_buf (cc_sdp_t *sdp_info, uint32_t *retbytes)
|
||||
{
|
||||
flex_string fs;
|
||||
uint32_t sdp_len;
|
||||
// uint32_t sdp_len;
|
||||
sdp_result_e rc;
|
||||
|
||||
flex_string_init(&fs);
|
||||
|
||||
Reference in new issue
Block a user