Skip to content

Commit 57bec6c

Browse files
authored
fixed #12099 - daca: missing diff entries (#5586)
This reverts 7ff58da.
1 parent dd627a2 commit 57bec6c

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

tools/donate_cpu_lib.py

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
1717
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
1818
# changes)
19-
CLIENT_VERSION = "1.3.51"
19+
CLIENT_VERSION = "1.3.52"
2020

2121
# Timeout for analysis with Cppcheck in seconds
2222
CPPCHECK_TIMEOUT = 30 * 60
@@ -608,25 +608,6 @@ def diff_results(ver1, results1, ver2, results2):
608608
ret += ver2 + ' ' + r2[i2] + '\n'
609609
i2 += 1
610610

611-
# if there are syntaxError/unknownMacro/etc then analysis stops.
612-
# diffing normal checker warnings will not make much sense
613-
bailout_ids = ('[syntaxError]', '[unknownMacro]')
614-
has_bailout_id = False
615-
for id in bailout_ids:
616-
if (id in results1) or (id in results1):
617-
has_bailout_id = True
618-
if has_bailout_id:
619-
def check_bailout(line):
620-
for id in bailout_ids:
621-
if line.endswith(id):
622-
return True
623-
return False
624-
out = ''
625-
for line in ret.split('\n'):
626-
if check_bailout(line):
627-
out += line + '\n'
628-
ret = out
629-
630611
return ret
631612

632613

0 commit comments

Comments
 (0)