From 144bc5026e90421bb814f35f2b61f3ffa0d078f8 Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Fri, 19 Apr 2019 09:17:29 -0400 Subject: Initialize rate_limited to false in directory_get_from_hs_dir() --- src/feature/rend/rendclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/feature/rend/rendclient.c') diff --git a/src/feature/rend/rendclient.c b/src/feature/rend/rendclient.c index 090722a4c5..f84d221b1a 100644 --- a/src/feature/rend/rendclient.c +++ b/src/feature/rend/rendclient.c @@ -469,7 +469,7 @@ directory_get_from_hs_dir(const char *desc_id, /* Automatically pick an hs dir if none given. */ if (!rs_hsdir) { - bool rate_limited; + bool rate_limited = false; /* Determine responsible dirs. Even if we can't get all we want, work with * the ones we have. If it's empty, we'll notice in hs_pick_hsdir(). */ -- cgit v1.2.3-54-g00ecf