Coverity: Checked return: CID 11
authorNelson Ferreira <nelson.ferreira@ieee.org>
Sat, 21 Jan 2012 04:39:00 +0000 (23:39 -0500)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Sat, 21 Jan 2012 04:39:00 +0000 (23:39 -0500)
* lib-src/make-docfile.c (scan_lisp_file): Signal intent to ignore
read char.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
lib-src/make-docfile.c

index c910174..e746506 100644 (file)
@@ -1066,7 +1066,7 @@ scan_lisp_file(const char *filename, const char *mode)
                                         c1 = c;
                                         /* SXEmacs: shame we can't do this. */
                                         /* c = getc_skipping_iso2022(infile); */
-                                        getc (infile);
+                                        (void)getc (infile);
                                 }
          
                                 /* If two previous characters were " and \,