Ignore:
Timestamp:
Aug 19, 2014 12:54:34 AM (7 years ago)
Author:
bennylp
Message:

Re #1751: fixed miscellaneous gcc warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_im.c

    r4712 r4890  
    6969static const pj_str_t STR_MIME_APP         = { "application", 11 }; 
    7070static const pj_str_t STR_MIME_ISCOMPOSING = { "im-iscomposing+xml", 18 }; 
    71 static const pj_str_t STR_MIME_TEXT        = { "text", 4 }; 
    72 static const pj_str_t STR_MIME_PLAIN       = { "plain", 5 }; 
    7371 
    7472 
     
    7775static pj_bool_t acceptable_message(const pjsip_media_type *mime) 
    7876{ 
     77    const pj_str_t STR_MIME_TEXT           = { "text", 4 }; 
     78    const pj_str_t STR_MIME_PLAIN          = { "plain", 5 }; 
    7979    return (pj_stricmp(&mime->type, &STR_MIME_TEXT)==0 && 
    8080            pj_stricmp(&mime->subtype, &STR_MIME_PLAIN)==0) 
Note: See TracChangeset for help on using the changeset viewer.