apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: some simplifications for the Netware apr_thread_create code
Date Sun, 14 Oct 2007 01:31:34 GMT
William A. Rowe, Jr. wrote:
> Lucian Adrian Grijincu wrote:
>> Just removing some unused code.
>> APR_SUCCESS is deemed to be zero as I understand it, so no use in
>> checking for it explicitly.
> Untrue, because it makes things clearer to the reader.
> The compiler can't care less if you compare (rv == 0) or (!rv),
> it optimizes it the same way.

It doesn't matter anyways - those aren't apr_ functions, their value of
zero is particular to Netware semantics.

View raw message