coding standards

Luke Kenneth Casson Leighton lkcl at switchboard.net
Fri May 8 11:30:59 GMT 1998


jean-f (and others)

if (boolean == True) is bad: this should be if (boolean)

if (boolean)
{
	flag = True;
}
else
{
	flag = False;
}

should be flag = (boolean);

void *ptr = 0 is bad: this should be void *ptr = NULL

etc...



More information about the samba-technical mailing list