From: Lev Stipakov Date: Fri, 9 Nov 2018 09:59:33 +0000 (+0200) Subject: Remove extra token after #endif X-Git-Tag: v2.4.7~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca962f3837ab05b0e8a4382960391f289497eaa2;p=thirdparty%2Fopenvpn.git Remove extra token after #endif Commit ee80ce3d6f2ebc59068338757311e0488ae620fc wrapped code in #ifdef/#endif and added extra token after #endif, which produces compiler warning. This removes unneeded extra token. Signed-off-by: Lev Stipakov Acked-by: Gert Doering Message-Id: <1541757573-30178-1-git-send-email-lstipakov@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg17883.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 586e4ca62..1cdef3152 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -624,7 +624,7 @@ save_ncp_options(struct context *c) c->c1.ciphername = c->options.ciphername; c->c1.authname = c->options.authname; c->c1.keysize = c->options.keysize; -#endif ENABLE_CRYPTO +#endif } /* Restores NCP-negotiable options to original values */ @@ -635,7 +635,7 @@ restore_ncp_options(struct context *c) c->options.ciphername = c->c1.ciphername; c->options.authname = c->c1.authname; c->options.keysize = c->c1.keysize; -#endif ENABLE_CRYPTO +#endif } void