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/mix.c

    r2394 r2408  
    130130        printf("File %s exists, overwrite? [Y/N] ", out_fname); 
    131131        fflush(stdout); 
    132         fgets(in, sizeof(in), stdin); 
     132        if (fgets(in, sizeof(in), stdin) == NULL) 
     133            return 1; 
    133134        if (pj_tolower(in[0]) != 'y') 
    134135            return 1; 
Note: See TracChangeset for help on using the changeset viewer.