From: Clang via Jeffrey Walton Date: Tue, 2 Sep 2014 21:04:53 +0000 (-0400) Subject: RT3140: Possibly-unit variable in pem_lib.c X-Git-Tag: master-post-reformat~419 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ff3687eab8b0915198ad84d83da5998860b11b3;p=oweals%2Fopenssl.git RT3140: Possibly-unit variable in pem_lib.c Can't really happen, but the flow of control isn't obvious. Add an initializer. Reviewed-by: Matt Caswell --- diff --git a/crypto/pem/pem_lib.c b/crypto/pem/pem_lib.c index 2d328b4d36..28fb86779e 100644 --- a/crypto/pem/pem_lib.c +++ b/crypto/pem/pem_lib.c @@ -443,7 +443,7 @@ err: int PEM_do_header(EVP_CIPHER_INFO *cipher, unsigned char *data, long *plen, pem_password_cb *callback,void *u) { - int i,j,o,klen; + int i=0,j,o,klen; long len; EVP_CIPHER_CTX ctx; unsigned char key[EVP_MAX_KEY_LENGTH];