From 3b359050b464e9fede85cd299902adea79f027bf Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 28 May 2020 23:01:15 +0800 Subject: [PATCH] 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;