|
|
|
|
|
by blattimwind
2555 days ago
|
|
> I don't think it would not be simple or a good idea to warn because these are perfectly valid expressions and it would lead to a flood of warnings if compilers started to display "Did you really mean that?" for an ever growing list of expressions (which is what it would become). There are many technically valid expressions and statements that will still generate warnings in most compilers. if(a=b) {} comes to mind first and foremost. |
|