Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
crypto: fix read of potentially uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Sep 22, 2011
1 parent 3a9b08f commit fdb0eb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Expand Up @@ -159,7 +159,7 @@ static BIO* LoadBIO (Handle<Value> v) {

HandleScope scope;

int r;
int r = -1;

if (v->IsString()) {
String::Utf8Value s(v->ToString());
Expand Down

0 comments on commit fdb0eb5

Please sign in to comment.