]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix build with clang v15.0.6 [-Wunused-but-set-variable] (#1247)
authorgkinkie@gmail.com <kinkie@squid-cache.org>
Fri, 27 Jan 2023 14:43:41 +0000 (14:43 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 27 Jan 2023 14:43:50 +0000 (14:43 +0000)
commit71d09e3b5f90ebcfbe2d16880d34e9fc7db61fa0
treea6ae5e807ec75a4775d9e3cbdeff97977de8fa63
parent43e0e506903f9a7049269b6c3a1a2818bc789ab1
Fix build with clang v15.0.6 [-Wunused-but-set-variable] (#1247)

clang v15.0.6 distributed with Fedora Rawhide complains about a variable
that is updated but never used:

    net_db.cc:230:9: error: variable 'removed' set but not used
    [-Werror,-Wunused-but-set-variable]`
src/icmp/net_db.cc