Ignore:
Timestamp:
Jan 1, 2009 10:08:21 PM (15 years ago)
Author:
bennylp
Message:

Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c

    r2394 r2408  
    18101810    } else { 
    18111811        /* Server mode */ 
    1812         char s[10]; 
     1812        char s[10], *unused; 
    18131813        pj_status_t status; 
    18141814        unsigned i; 
     
    18451845        puts("\nPress <ENTER> to quit\n"); 
    18461846        fflush(stdout); 
    1847         fgets(s, sizeof(s), stdin); 
     1847        unused = fgets(s, sizeof(s), stdin); 
     1848        PJ_UNUSED_ARG(unused); 
    18481849 
    18491850        app.thread_quit = PJ_TRUE; 
Note: See TracChangeset for help on using the changeset viewer.