Ignore:
Timestamp:
Apr 26, 2012 11:45:09 PM (12 years ago)
Author:
bennylp
Message:

Misc (re #1417): fixed compilation warnings about missing return value in pjlib echo server test application

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/1.x/pjlib/src/pjlib-test/udp_echo_srv_ioqueue.c

    r3553 r4105  
    2323static pj_ioqueue_key_t *key; 
    2424static pj_atomic_t *total_bytes; 
     25static pj_bool_t thread_quit_flag; 
    2526 
    2627struct op_key 
     
    146147    } 
    147148     
    148     for (;;) { 
     149    while (!thread_quit_flag) { 
    149150        pj_time_val timeout; 
    150151        timeout.sec = 0; timeout.msec = 10; 
    151152        rc = pj_ioqueue_poll(ioqueue, &timeout); 
    152153    } 
    153     PJ_UNREACHED(return 0;) 
     154    return 0; 
    154155} 
    155156 
Note: See TracChangeset for help on using the changeset viewer.