From: Steve Holme Date: Thu, 21 Aug 2014 19:38:13 +0000 (+0100) Subject: openssl.c: Fixed compilation warning X-Git-Tag: curl-7_38_0~73 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdfc75e75195d70659997bfdb1f282ea31441f28;p=thirdparty%2Fcurl.git openssl.c: Fixed compilation warning warning: declaration of 'minor' shadows a global declaration --- diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 10f13385ce..ac82ad79d0 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2835,9 +2835,9 @@ size_t Curl_ossl_version(char *buffer, size_t size) } else { if(ssleay_value&0xff0) { - int minor = (ssleay_value >> 4) & 0xff; - if(minor > 26) { /* handle extended version introduced for 0.9.8za */ - sub[1] = (char) ((minor - 1) % 26 + 'a' + 1); + int minor_ver = (ssleay_value >> 4) & 0xff; + if(minor_ver > 26) { /* handle extended version introduced for 0.9.8za */ + sub[1] = (char) ((minor_ver - 1) % 26 + 'a' + 1); sub[0] = 'z'; } else {