[SAMBA 4] [PATCH] Fix IBM checker warnings

Jeremy Allison jra at samba.org
Fri Feb 8 18:14:28 GMT 2008


On Fri, Feb 08, 2008 at 09:27:52AM -0800, Zachary Loafman wrote:
> > > uint32 foo;
> > > foo = some integer result;
> > > return foo;
> >
> > foo, however, is always a boolean type. It is fine for the IBM checker
> > to warn when we're assigning a non-boolean value to a boolean type or
> > returning a non-boolean value in a function that should return a
> > boolean.
> 
> I've been staring too much at Samba3. You're right, of course, in
> Samba4. In Samba3 it's still an integral type.

Not anymore (3.2).

Jeremy.


More information about the samba-technical mailing list