Noticed while compiling master:
0net.cpp: In member function ‘void CConnman::AcceptConnection(const CConnman::ListenSocket&)’:
1net.cpp:1041:10: warning: variable ‘legacyWhitelisted’ set but not used [-Wunused-but-set-variable]
2 1041 | bool legacyWhitelisted = false;
3 | ^~~~~~~~~~~~~~~~~