Changeset 1714


Ignore:
Timestamp:
Jan 19, 2008 9:34:30 AM (12 years ago)
Author:
bennylp
Message:

Fixed warning about uninitialized variable in VS6

File:
1 edited

Legend:

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

    r1608 r1714  
    126126        pj_status_t status; 
    127127         
     128        /* VC6 complains that "he" is uninitialized */ 
     129        #ifdef _MSC_VER 
     130        pj_bzero(&he, sizeof(he)); 
     131        #endif 
     132 
    128133        status = pj_gethostbyname(nodename, &he); 
    129134        if (status != PJ_SUCCESS) 
Note: See TracChangeset for help on using the changeset viewer.