GNU bug report logs - #15481
make-docfile.c local variable type

Previous Next

Package: emacs;

Reported by: David Binderman <dcb314 <at> hotmail.com>

Date: Sat, 28 Sep 2013 18:24:07 UTC

Severity: minor

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Binderman <dcb314 <at> hotmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: emacs-24.3 bug report
Date: Fri, 27 Sep 2013 12:20:54 +0000
Hello there,

I just ran the static analysis checker cppcheck over the 
source code of emacs-24.3

It said

[/home/dcb/rpmbuild/BUILD/emacs-24.3/lib-src/make-docfile.c:1096]: (warning) Storing getc() return value in char variable and then comparing with EOF.

Suggest change type of local variable to int.

Regards

David Binderman 		 	   		  



This bug report was last modified 11 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.