some small corrections in the lint part

This commit is contained in:
dick
1989-10-10 11:21:55 +00:00
parent 70db8e4c85
commit a947b16247
5 changed files with 18 additions and 8 deletions

View File

@@ -287,13 +287,14 @@ ch7cast(expp, oper, tp)
break;
case EQUAL:
case NOTEQUAL:
case ':':
case '=':
case RETURN:
if (is_cp_cst(*expp) && (*expp)->VL_VALUE == (arith)0)
break;
default:
expr_warning(*expp,
"illegal conversion of %s to pointer",
"dubious conversion of %s to pointer",
symbol2str(oldtp->tp_fund));
break;
}