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

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Mar 30 13:54:11 PDT 2017


Issue #2997 has been updated by dillon.

Status changed from New to Closed

fix committed

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

* Author: dcb
* Status: Closed
* 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