# HG changeset patch # User Matt Johnston # Date 1519657922 -28800 # Node ID 2c902644036d94880b5b0d8906ced5f5edb5465c # Parent d1a8a05216ff6778b74b184bc8015e0a7a3b2d06 avoid warning about port diff -r d1a8a05216ff -r 2c902644036d svr-tcpfwd.c --- a/svr-tcpfwd.c Mon Feb 26 22:42:53 2018 +0800 +++ b/svr-tcpfwd.c Mon Feb 26 23:12:02 2018 +0800 @@ -86,7 +86,7 @@ } if (strcmp("tcpip-forward", reqname) == 0) { - int allocated_listen_port; + int allocated_listen_port = 0; ret = svr_remotetcpreq(&allocated_listen_port); /* client expects-port-number-to-make-use-of-server-allocated-ports */ if (DROPBEAR_SUCCESS == ret) {