vcc: return no symbol when types don't match
When we are looking for ! SYM_NONE and find ! SYM_NONE, do not return the symbol we found. The semantics of (kind != SYM_NONE && sym->kind != kind) are inclusive because the next conditional is not true for this case. Ref: 9d81a71a Fixes: #2497
Showing
Please register or sign in to comment