From b185751c3f8a9575263903bdcad528b5de470051 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 21 Sep 2011 01:11:07 +0200 Subject: [PATCH] crypto: fix read of potentially uninitialized variable --- src/node_crypto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_crypto.cc b/src/node_crypto.cc index 07bb881fbcd..d1bf6913a44 100644 --- a/src/node_crypto.cc +++ b/src/node_crypto.cc @@ -176,7 +176,7 @@ static BIO* LoadBIO (Handle v) { HandleScope scope; - int r; + int r = -1; if (v->IsString()) { String::Utf8Value s(v->ToString());