diff options
author | Benny Prijono <bennylp@teluu.com> | 2010-08-05 10:37:47 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2010-08-05 10:37:47 +0000 |
commit | 0b04f07de50fab6b4b3c036b92fd7abef816f0b1 (patch) | |
tree | 37f1dacfe6dfcb51b0027719fdd5cf726271754c /pjsip-apps | |
parent | 7f9faedd51ead89227b4a92789b9728666c9b507 (diff) |
Misc (Re #1068): compilation warning with gcc about unchecked fgets() return value
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3249 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/samples/aectest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pjsip-apps/src/samples/aectest.c b/pjsip-apps/src/samples/aectest.c index c3e8e0f0..5e51d86e 100644 --- a/pjsip-apps/src/samples/aectest.c +++ b/pjsip-apps/src/samples/aectest.c @@ -293,9 +293,9 @@ int main(int argc, char *argv[]) pj_shutdown(); if (interactive) { - char s[10]; + char s[10], *dummy; puts("ENTER to quit"); - fgets(s, sizeof(s), stdin); + dummy = fgets(s, sizeof(s), stdin); } /* Done. */ |