error: suggest parentheses around assignment used as truth value
代码如下:
if(res = em3071_check_and_clear_intr(client))
{
APS_ERR("check/clear intr: %d\n", res);
// return res;
}
编译报错如下:
error: suggest parentheses around assignment used as truth value [-W
原创
2018-01-03 18:23:02 ·
1514 阅读 ·
0 评论