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 20, 2011
1 parent decd818 commit b185751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_crypto.cc
Expand Up @@ -176,7 +176,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 b185751

Please sign in to comment.