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

Commit

Permalink
node: fix use of potentially uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Oct 14, 2011
1 parent 87b34c9 commit e0297ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Expand Up @@ -2111,7 +2111,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
#if HAVE_OPENSSL
// Stupid code to slice out the version string.
int c, l = strlen(OPENSSL_VERSION_TEXT);
for (i = 0; i < l; i++) {
for (i = j = 0; i < l; i++) {
c = OPENSSL_VERSION_TEXT[i];
if ('0' <= c && c <= '9') {
for (j = i + 1; j < l; j++) {
Expand Down

0 comments on commit e0297ca

Please sign in to comment.