Fix clang warning.
authorThiago Farina <tfarina@chromium.org>
Tue, 27 Nov 2012 17:59:08 +0000 (15:59 -0200)
committerThiago Farina <tfarina@chromium.org>
Tue, 27 Nov 2012 18:01:31 +0000 (16:01 -0200)
commitf93f1309b451f4c00fd0d68b4736130135f6586d
treec989a223dd1f374bae1d416fffe1d7f5e2c548e8
parent561780e6951f3ce8db44e10b3b8b072755ec8a44
Fix clang warning.

The return type of CollectTarget() is Node, so we should return NULL in the
failure case instead of false.

src/ninja.cc:188:16: warning: initialization of pointer of type 'Node *' to null from a constant boolean expression [-Wbool-conversion]
        return false;
               ^~~~~

Signed-off-by: Thiago Farina <tfarina@chromium.org>
src/ninja.cc