From 85bf0f3237d3bf9114dd84bc543b19c683f97a72 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 30 Jun 2017 10:29:14 -0400 Subject: [PATCH] lib: Fix clang warning Signed-off-by: Donald Sharp --- lib/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/thread.c b/lib/thread.c index a1a9e7c359..1891735fc3 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -1301,7 +1301,7 @@ thread_fetch (struct thread_master *m, struct thread *fetch) struct timeval now; struct timeval zerotime = { 0, 0 }; struct timeval tv; - struct timeval *tw; + struct timeval *tw = NULL; int num = 0;