mirror of https://codeberg.org/nsxiv/nsxiv
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
clang-tidy currently flags the following: util.c:57:8: error: 'ptr' may be set to null if 'realloc' fails, which may result in a leak of the original buffer [bugprone-suspicious-realloc-usage,-warnings-as-errors] ptr = realloc(ptr, size); the analysis here is correct, but if realloc fails, we simply exit so there's no real "leak". moreover this check is not very useful for nsxiv's codebase because we do not use naked realloc(), instead we use the erealloc wrapper that exits on failure. so just disable the warning entirely instead of changing the source code to silence the false positive. |
1 year ago | |
---|---|---|
.. | ||
examples | 2 years ago | |
woodpecker | 1 year ago | |
.clang-format | 1 year ago | |
CHANGELOG.md | 1 year ago | |
CONTRIBUTING.md | 1 year ago | |
nsxiv.1 | 1 year ago | |
nsxiv.desktop | 2 years ago |