From 25d0e92c8c4ca13b5275448a67e5f6c5690a1d0e Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 12 Dec 2013 09:07:54 +0100 Subject: echo_srv: Fix a build warning. --- tests/echo_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/echo_srv.c b/tests/echo_srv.c index b290ca8..dd6fafd 100644 --- a/tests/echo_srv.c +++ b/tests/echo_srv.c @@ -260,7 +260,7 @@ static void echo(int sock, struct echo_srv_opts *opts) int main(int argc, char **argv) { int ret; - int sock; + int sock = -1; struct echo_srv_opts opts; int opt; int optindex; -- cgit