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

nut-patches at alioth.debian.org nut-patches at alioth.debian.org
Mon Jun 18 11:07:39 UTC 2007


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


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: Arjen de Korte (adkorte-guest)
Date: 2007-06-18 13:07

Message:
Fixed in the trunk

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

Comment By: Charles Lepple (clepple-guest)
Date: 2007-03-20 01: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