diff options
author | Anatol Belski <ab@php.net> | 2015-01-15 11:02:32 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-01-15 11:18:39 +0100 |
commit | 706b7c6e070eb9135ecc55d7c457986569037a30 (patch) | |
tree | c4cc7cc84559f3407d8680207892ae3325fc6a55 /Zend | |
parent | cdfafd3f3859a045ac22449932c5bd3eb0c03a6c (diff) | |
download | php-git-706b7c6e070eb9135ecc55d7c457986569037a30.tar.gz |
don't return value in the void function
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_sort.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_sort.c b/Zend/zend_sort.c index 22d0a163e5..5184b8bf0f 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; |