Building with -O2, the compiler warned about query_user_SINGLE() being declared and not used in console.c. This function, defined in console.h, should have been declared as 'static inline'. This also removes that warning.
Signed-off-by: David Sommerseth <dav...@openvpn.net> --- src/openvpn/console.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openvpn/console.h b/src/openvpn/console.h index 41f2b8c..ec32cf6 100644 --- a/src/openvpn/console.h +++ b/src/openvpn/console.h @@ -106,7 +106,7 @@ static bool query_user_exec () * to be called at start-up initialization of OpenVPN. * */ -static bool query_user_SINGLE (char *prompt, size_t prompt_len, +static inline bool query_user_SINGLE (char *prompt, size_t prompt_len, char *resp, size_t resp_len, bool echo) { -- 1.8.3.1 ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel