don't comment 'previous declaration of' warnings (#400)

This commit is contained in:
alex 2021-08-26 09:10:41 +01:00 committed by GitHub
parent 0bdf15542e
commit b535fd7238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,9 @@ def main():
with open(args.currentwarnings) as current:
current = current.readlines()
for newLine in new:
if "warning: previous declaration of" in newLine:
continue
if newLine not in current:
if stderr:
print(newLine.strip(), file=sys.stderr)