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_sync.c

    r3553 r4105  
    2222 
    2323static pj_atomic_t *total_bytes; 
     24static pj_bool_t thread_quit_flag = 0; 
    2425 
    2526static int worker_thread(void *arg) 
     
    2930    pj_status_t  last_recv_err = PJ_SUCCESS, last_write_err = PJ_SUCCESS; 
    3031 
    31     for (;;) { 
     32    while (!thread_quit_flag) { 
    3233        pj_ssize_t len; 
    3334        pj_status_t rc; 
     
    5758        } 
    5859    } 
    59     PJ_UNREACHED(return 0;) 
     60    return 0; 
    6061} 
    6162 
Note: See TracChangeset for help on using the changeset viewer.