From e0297ca59b748eb7912aab0eebc9e49952dd4835 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 14 Oct 2011 15:05:02 +0000 Subject: [PATCH] node: fix use of potentially uninitialized variable --- src/node.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.cc b/src/node.cc index c853c86bded..9b3f3078bcd 100644 --- a/src/node.cc +++ b/src/node.cc @@ -2111,7 +2111,7 @@ Handle 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++) {