diff dbrandom.c @ 1701:6e5037ae2c1c

Fix warning for unused prngd branch
author Matt Johnston <matt@ucc.asn.au>
date Thu, 28 May 2020 23:01:15 +0800
parents f966834f0f9c
children 517fb7b62438
line wrap: on
line diff
--- a/dbrandom.c	Thu May 28 22:55:49 2020 +0800
+++ b/dbrandom.c	Thu May 28 23:01:15 2020 +0800
@@ -53,7 +53,7 @@
 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;