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

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Sun Jan 18 02:24:45 CET 2015


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?

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


More information about the libdvdnav-devel mailing list