[nut-Patches][304063] Comparison with string literal

nut-patches at alioth.debian.org nut-patches at alioth.debian.org
Tue Mar 20 01:43:03 CET 2007


Patches item #304063, was opened at 2007-02-20 11:24
Status: Open
Priority: 3
Submitted By: Michal Vaner (mvaner-guest)
Assigned to: Nobody (None)
Summary: Comparison with string literal 
Category: None
Group: None
Resolution: None


Initial Comment:
Hello,

there is a comparison with "" by == in the gamatronic driver. IMO this is always false and therefore wrong.

Thank you

----------------------------------------------------------------------

>Comment By: Charles Lepple (clepple-guest)
Date: 2007-03-19 20:43

Message:
Confirmed in the trunk:

http://boxster.ghz.cc/projects/nut/browser/trunk/drivers/gamatronic.c#L125

and in 2.0.5:

http://boxster.ghz.cc/projects/nut/browser/branches/Testing/drivers/gamatronic.c#L125

----------------------------------------------------------------------

You can respond by visiting: 
http://alioth.debian.org/tracker/?func=detail&atid=411544&aid=304063&group_id=30602



More information about the NUT-tracker mailing list