]> git.ipfire.org Git - thirdparty/suricata.git/commit
threads: fix int as pointer warning for pthread_exit 12565/head
authorVictor Julien <vjulien@oisf.net>
Tue, 11 Feb 2025 18:32:40 +0000 (19:32 +0100)
committerVictor Julien <vjulien@oisf.net>
Wed, 12 Feb 2025 08:11:19 +0000 (09:11 +0100)
commitd545b4d860cb82a77541018a6e211d00c8ae19d0
treea4ddd5301e79644621ac06d025f8c4c9ae2102cb
parent3d46c18474c488e642d64fb0406066ead5e240da
threads: fix int as pointer warning for pthread_exit

 clang-tidy:
        warning: integer to pointer cast pessimizes optimization opportunities

Since the returned code of -1 was never read, just return NULL.
src/tm-threads.c