mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-02-17 17:11:32 +00:00
Do we REALLY need to listen to splint?
This commit is contained in:
parent
d9282ed988
commit
5a013c5b89
1 changed files with 1 additions and 1 deletions
2
parser.c
2
parser.c
|
@ -4366,7 +4366,7 @@ static bool parser_check_qualifiers(parser_t *parser, const ast_value *var, cons
|
||||||
}
|
}
|
||||||
av = (var ->expression.flags & AST_FLAG_NORETURN);
|
av = (var ->expression.flags & AST_FLAG_NORETURN);
|
||||||
ao = (proto->expression.flags & AST_FLAG_NORETURN);
|
ao = (proto->expression.flags & AST_FLAG_NORETURN);
|
||||||
if (av != ao) {
|
if (!av != !ao) {
|
||||||
return !parsewarning(parser, WARN_DIFFERENT_ATTRIBUTES,
|
return !parsewarning(parser, WARN_DIFFERENT_ATTRIBUTES,
|
||||||
"`%s` declared with different attributes%s\n"
|
"`%s` declared with different attributes%s\n"
|
||||||
" -> previous declaration here: %s:%i",
|
" -> previous declaration here: %s:%i",
|
||||||
|
|
Loading…
Reference in a new issue