[SAMBA 4] [PATCH] Fix IBM checker warnings
Christopher R. Hertel
crh at ubiqx.mn.org
Fri Feb 8 15:29:19 GMT 2008
Jelmer Vernooij wrote:
:
> "ret = ret && " is harder to read and write than "&=", and the latter
> should be considered correct too.
...but not equivalent. &= is a bitwise AND operation, which has the desired
effect but it's not the same as the logical &&.
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical
mailing list