tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: prop_dictionary_make_immutable



On Wed, Mar 05, 2008 at 07:45:18AM +0000, David Laight wrote:
> On Wed, Mar 05, 2008 at 08:30:21AM +0100, Quentin Garnier wrote:
> > +   if (prop_dictionary_is_immutable(pd) == false)
> 
> Surely, if we are goig to use 'bool' this should be just:
>       if (!prop_dictionary_is_immutable(pd))

That's what I'd do, but I unashamedly copied prop_array_make_immutable
and kept that part for consistency.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpRQy8UwNXfv.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index