From c25f9cbc38ea1fd9f589a856cfb36d239609f450 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Fri, 24 Jan 2014 14:35:22 +0100 Subject: [PATCH] rtl_tcp: fix warning Signed-off-by: Steve Markgraf --- src/rtl_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c index d0e22ef..915a8fe 100644 --- a/src/rtl_tcp.c +++ b/src/rtl_tcp.c @@ -276,7 +276,7 @@ struct command{ #endif static void *command_worker(void *arg) { - int left, received; + int left, received = 0; fd_set readfds; struct command cmd={0, 0}; struct timeval tv= {1, 0};