提交 fc4263ce 编写于 作者: L Linus Torvalds

Avoid gcc warning in diff-stages.c

Put explicit parentheses around && in ||-expression.
上级 5e749e25
......@@ -107,7 +107,7 @@ int main(int ac, const char **av)
! (0 <= stage1 && stage1 <= 3) ||
sscanf(av[2], "%d", &stage2) != 1 ||
! (0 <= stage2 && stage2 <= 3) ||
find_copies_harder && detect_rename != DIFF_DETECT_COPY)
(find_copies_harder && detect_rename != DIFF_DETECT_COPY))
usage(diff_stages_usage);
av += 3; /* The rest from av[0] are for paths restriction. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册