On 12 Feb 2015 at 19:14, R.Smith <rsm...@rsweb.co.za> wrote: 

> On 2/12/2015 8:50 PM, Doug Currie wrote:

>> It's easy enough to fix if you want 0 to be a valid value for TERM_VNULL:
>>
>> #if TERM_VNULL
>>   if( pTerm->wtFlags & TERM_VNULL ) continue;
>> #endif
>
> Agreed, but how easy it is to fix a problem that is not a problem is
> kind of irrelevant... We should write code to make systems execute
> efficiently and correct, not to make compilers shush.

If the statement will never be executed the compiler should simply optimise it 
away. No warning is necessary unless you turn on some flag that highlights such 
optimisations. 

--
Cheers  --  Tim
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to