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:22:50 GMT
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.

Bill

Mime
View raw message