Changeset 3249 for pjproject


Ignore:
Timestamp:
Aug 5, 2010 10:37:47 AM (14 years ago)
Author:
bennylp
Message:

Misc (Re #1068): compilation warning with gcc about unchecked fgets() return value

File:
1 edited

Legend:

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

    r3115 r3249  
    294294 
    295295    if (interactive) { 
    296         char s[10]; 
     296        char s[10], *dummy; 
    297297        puts("ENTER to quit"); 
    298         fgets(s, sizeof(s), stdin); 
     298        dummy = fgets(s, sizeof(s), stdin); 
    299299    } 
    300300 
Note: See TracChangeset for help on using the changeset viewer.