daemon/network: avoid unused functions and variables
Make sure gcc doesn't produce unused func/var warnings when using optional compilation. This fixes three such issues on CentOS 7.
Make sure gcc doesn't produce unused func/var warnings when using optional compilation. This fixes three such issues on CentOS 7.