From 9a6b45a36f33c8636d61ca902c2e0d7daffa7e8a Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 28 May 2020 23:01:15 +0800 Subject: Fix warning for unused prngd branch --- dbrandom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbrandom.c b/dbrandom.c index 8ea61f6..d7340a3 100644 --- a/dbrandom.c +++ b/dbrandom.c @@ -53,7 +53,7 @@ static int donerandinit = 0; static int process_file(hash_state *hs, const char *filename, unsigned int wantlen, int prngd) { - int readfd; + int readfd = -1; unsigned int readcount; int ret = DROPBEAR_FAILURE; -- cgit v1.2.1