From f6da8385579b30483c08d02a88347e5424df4bf1 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Thu, 20 Aug 2009 14:05:06 -0700 Subject: [PATCH] init variables since compiler doesn't get __attribute__((noreturn)) --- lib/hcrypto/example_evp_cipher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hcrypto/example_evp_cipher.c b/lib/hcrypto/example_evp_cipher.c index 46e2ffe16..fe182bf6b 100644 --- a/lib/hcrypto/example_evp_cipher.c +++ b/lib/hcrypto/example_evp_cipher.c @@ -65,11 +65,11 @@ int main(int argc, char **argv) { int encryptp = 1; - const char *ifn, *ofn; + const char *ifn = NULL, *ofn = NULL; FILE *in, *out; void *ibuf, *obuf; int ilen, olen; - size_t block_size; + size_t block_size = 0; const EVP_CIPHER *c = EVP_aes_128_cbc(); EVP_CIPHER_CTX ctx; int ret;