Hello, cppcheck found several unused functions:
[src/openvpn/misc.c:842]: (style) The function 'setenv_int_i' is never used. [src/openvpn/misc.c:669]: (style) The function 'env_set_add_to_environment' is never used. [src/openvpn/misc.c:627]: (style) The function 'env_set_print' is never used. [src/openvpn/misc.c:693]: (style) The function 'env_set_remove_from_environment' is never used. [src/openvpn/crypto_openssl.c:580]: (style) The function 'cipher_ctx_mode' is never used. [src/openvpnserv/openvpnserv.c:182]: (style) The function 'close_if_open' is never used. [src/openvpn/buffer.c:296]: (style) The function 'convert_to_one_line' is never used. [src/openvpn/proxy.c:259]: (style) The function 'dump_residual' is never used. [src/openvpn/manage.c:3325]: (style) The function 'management_should_daemonize' is never used. [src/openvpn/crypto_openssl.c:697]: (style) The function 'md_ctx_size' is never used. [src/openvpn/platform.c:253]: (style) The function 'platform_sleep_until_signal' is never used. [src/openvpn/plugin.c:867]: (style) The function 'plugin_return_print' is never used. [src/openvpn/route.c:1258]: (style) The function 'print_routes' is never used. [src/openvpn/ssl.c:1766]: (style) The function 'read_string_discard' is never used. [src/openvpn/win32.c:710]: (style) The function 'semaphore_clear' is never used. [src/openvpn/ssl_openssl.c:709]: (style) The function 'tls_ctx_free_cert_file' is never used. (somehow, it sees either openssl or polarssl implementation), what about those functions ? should we remove those which are not really used ? Cheers, Ilya Shipitsin
