summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-05-28 23:01:15 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-05-28 23:01:15 +0800
commit3b359050b464e9fede85cd299902adea79f027bf (patch)
treebb092fb87de3c910ab1f12cb612c1d34f4fd0aec
parenta015cc7594bd746ba4a8423cde663c58c51bdb09 (diff)
Fix warning for unused prngd branch
-rw-r--r--dbrandom.c2
1 files changed, 1 insertions, 1 deletions
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;