[PATCH] Fix typo

Valentin V. Bartenev vbart at nginx.com
Sun Sep 28 23:03:23 UTC 2014


On Sunday 28 September 2014 12:00:45 XiaoBing Jiang wrote:
> I grep the '#if 0', find many in code.
> 
> why this don't using '#if 0'?  I feel using '#if (NGX_THREADS0)' is
> more confused.

This one is about threads, so it combines #if (NGX_THREADS) and #if 0,
or just a shorter way to write #if (NGX_THREADS && 0).

For example, you can also find "#if (NGX_DEBUG0)".

Why actually do you care?  That's a dead code anyway.

  wbr, Valentin V. Bartenev



More information about the nginx-devel mailing list