com php-src: C89 compat: ext/mcrypt/mcrypt.c

From: Date: Mon, 18 Aug 2014 20:36:38 +0000
Subject: com php-src: C89 compat: ext/mcrypt/mcrypt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-80588@lists.php.net to get a copy of this message
Commit: de707df5e627bccc18ab94696ab8501f0010eb7d Author: Anatol Belski <ab@php.net> Mon, 18 Aug 2014 22:36:38 +0200 Parents: 0f5bad93fd9eb0bb73855b536d15c6b6bacb6dbc Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=de707df5e627bccc18ab94696ab8501f0010eb7d Log: C89 compat Changed paths: M ext/mcrypt/mcrypt.c Diff: diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index 84b0c92..74bc951 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -1138,9 +1138,9 @@ static char *php_mcrypt_get_key_size_str( return str; } else { int i; + char *result = NULL; smart_str str = {0}; smart_str_appends(&str, "Only keys of sizes "); - char *result = NULL; for (i = 0; i < key_size_count; ++i) { if (i == key_size_count - 1) {

« previous php.cvs (#80588) next »