[libdvdnav-devel] [PATCH 22/33] Check for positive integer values

Timothy Gu timothygu99 at gmail.com
Mon Jan 19 02:47:51 CET 2015


On Sat Jan 17 2015 at 5:24:55 PM Lawrence D'Oliveiro <
ldo at geek-central.gen.nz> wrote:

> On Sun, 18 Jan 2015 01:11:26 +0000, Andrew Clayton wrote:
>
> > Hmm, would simply
> >
> >       if(cmd_tbl->nr_of_pre)
> >
> > not perhaps be better?
>

+1 from me.


>
> I have this instinctive aversion to using anything other than
> boolean-valued expressions in conditions...
>

Too much Java lately eh?

Timothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libdvdnav-devel/attachments/20150119/2c0566bb/attachment.html>


More information about the libdvdnav-devel mailing list