Ignore:
Timestamp:
Jan 1, 2009 10:08:21 PM (12 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/resampleplay.c

    r2394 r2408  
    191191    puts("Press <ENTER> to stop playing and quit"); 
    192192 
    193     fgets(tmp, sizeof(tmp), stdin); 
    194  
     193    if (fgets(tmp, sizeof(tmp), stdin) == NULL) { 
     194        puts("EOF while reading stdin, will quit now.."); 
     195    } 
    195196     
    196197    /* Start deinitialization: */ 
Note: See TracChangeset for help on using the changeset viewer.