# HG changeset patch # User Gaƫl PORTAY # Date 1430575342 -7200 # Node ID aae71c5f7d5bb05dd1487237958446d33fb8d834 # Parent 0e14657093360c72a157cc784446bba59e92c0cf Fix unused make_connection_string() warning [-Werror=unused-function] This function is used when USE_VFORK is unset. diff -r 0e1465709336 -r aae71c5f7d5b svr-chansession.c --- a/svr-chansession.c Sat May 02 12:18:22 2015 +0200 +++ b/svr-chansession.c Sat May 02 16:02:22 2015 +0200 @@ -603,6 +603,7 @@ return DROPBEAR_SUCCESS; } +#ifndef USE_VFORK static void make_connection_string(struct ChanSess *chansess) { char *local_ip, *local_port, *remote_ip, *remote_port; size_t len; @@ -624,6 +625,7 @@ m_free(remote_ip); m_free(remote_port); } +#endif /* Handle a command request from the client. This is used for both shell * and command-execution requests, and passes the command to