From bbd05eb0c32a9614f012a1d9b75cef736a1d4150 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 2 Mar 2015 08:54:00 +0200 Subject: Clean up clang warnings --- build/context.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build/context.cxx') diff --git a/build/context.cxx b/build/context.cxx index 79753ec..f7c9650 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -43,8 +43,8 @@ namespace build // If work is a sub-path of {src,out}_root and this path is also a // sub-bath of it, then use '..' to form a relative path. // - if (work.sub (src_root) && p.sub (src_root) || - work.sub (out_root) && p.sub (out_root)) // @@ cache + if ((work.sub (src_root) && p.sub (src_root)) || + (work.sub (out_root) && p.sub (out_root))) // @@ cache return p.relative (work); return p; -- cgit v1.1