com php-src: don't return value in the void function: Zend/zend_sort.c

From: Date: Thu, 15 Jan 2015 10:18:39 +0000
Subject: com php-src: don't return value in the void function: Zend/zend_sort.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84106@lists.php.net to get a copy of this message
Commit: 706b7c6e070eb9135ecc55d7c457986569037a30 Author: Anatol Belski <ab@php.net> Thu, 15 Jan 2015 11:02:32 +0100 Parents: cdfafd3f3859a045ac22449932c5bd3eb0c03a6c Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=706b7c6e070eb9135ecc55d7c457986569037a30 Log: don't return value in the void function Changed paths: M Zend/zend_sort.c Diff: diff --git a/Zend/zend_sort.c b/Zend/zend_sort.c index 22d0a16..5184b8b 100644 --- a/Zend/zend_sort.c +++ b/Zend/zend_sort.c @@ -312,7 +312,8 @@ ZEND_API void zend_sort(void *base, size_t nmemb, size_t siz, compare_func_t cmp { while (1) { if (nmemb <= 16) { - return zend_insert_sort(base, nmemb, siz, cmp, swp); + zend_insert_sort(base, nmemb, siz, cmp, swp); + return; } else { char *i, *j; char *start = (char *)base;

« previous php.cvs (#84106) next »