[DragonFlyBSD - Bug #2997] (New) dragonfly/sbin/camcontrol/modeedit.c: newbie error with char and int

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Mar 29 14:54:00 PDT 2017


Issue #2997 has been reported by dcb.

----------------------------------------
Bug #2997: dragonfly/sbin/camcontrol/modeedit.c: newbie error with char and int 
http://bugs.dragonflybsd.org/issues/2997

* Author: dcb
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
dragonfly/sbin/camcontrol/modeedit.c:397]: (warning) Storing fgetc() return value in char variable and then comparing with EOF.
dragonfly/sbin/camcontrol/modeedit.c:406]: (warning) Storing fgetc() return value in char variable and then comparing with EOF.

Page 16 of K & R 2. Someone doesn't know the basics ;->




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list