Changeset 4905 for pjproject


Ignore:
Timestamp:
Aug 26, 2014 5:14:13 AM (10 years ago)
Author:
riza
Message:

Misc (re #1751): Avoid confusion caused by double variable declaration. (Thanks Itay Bianco for the report).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_common.c

    r4850 r4905  
    803803#else 
    804804    PJ_UNUSED_ARG(ai); 
    805     PJ_UNUSED_ARG(count); 
    806805#endif 
    807806 
     
    831830    if (cand_cnt < PJ_ARRAY_SIZE(cand_addr)) { 
    832831        unsigned start_if = cand_cnt; 
    833         unsigned count = PJ_ARRAY_SIZE(cand_addr) - start_if; 
     832        count = PJ_ARRAY_SIZE(cand_addr) - start_if; 
    834833 
    835834        status = pj_enum_ip_interface(af, &count, &cand_addr[start_if]); 
Note: See TracChangeset for help on using the changeset viewer.