Ignore:
Timestamp:
Jan 23, 2014 8:09:29 AM (9 years ago)
Author:
nanang
Message:

Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib-util/src/pjlib-util/dns.c

    r4537 r4712  
    6060                                       const pj_str_t *name) 
    6161{ 
    62     pj_uint8_t *query, *p = (pj_uint8_t*)packet; 
     62    pj_uint8_t *p = (pj_uint8_t*)packet; 
    6363    const char *startlabel, *endlabel, *endname; 
    6464    pj_size_t d; 
     
    8181 
    8282    /* Initialize query */ 
    83     query = p = ((pj_uint8_t*)packet)+sizeof(pj_dns_hdr); 
     83    p = ((pj_uint8_t*)packet)+sizeof(pj_dns_hdr); 
    8484 
    8585    /* Tokenize name */ 
Note: See TracChangeset for help on using the changeset viewer.