]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix 'defined but not used' warnings with enable-small/disable-management
authorArne Schwabe <arne@rfc2549.org>
Mon, 14 Feb 2022 02:10:53 +0000 (03:10 +0100)
committerGert Doering <gert@greenie.muc.de>
Mon, 14 Feb 2022 07:11:58 +0000 (08:11 +0100)
commitb0cbab96cc6e886d9eb8e304068ff61705d2a137
tree6862b1af1ee6e08f8e26260c6d41ce0a9e85bc36
parentfd72a3b99dcb110953d8466bfe6c47dab3a29657
Fix 'defined but not used' warnings with enable-small/disable-management

Some functions are only used when management is used or enable-small is
not used. Fix the ifdefs to correctly also include these helper
functions the ifdefs to avoid compile errors when using -Werror

Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220214021054.3750071-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23779.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/multi.c
src/openvpn/options.c