more pedantic standards?

This commit is contained in:
Michael Jerris committed 2012-12-18 11:01:51 -05:00
1 parent 216ca57338
commit c3e3f818e8
32 files changed
+128 -113

No files matched your search

+2 -2
View File
@@ -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;
+1 -1
View File
@@ -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);