Skip to content

Commit

Permalink
Remove erroneous RETURN_FALSE.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiz committed Mar 28, 2011
1 parent d11f8df commit 7deb03e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions php_memcached.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ static void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)
/* if we have a callback, all processing is done */
if (fci.size != 0) {
memcached_result_free(&result);
RETURN_FALSE;
return;
}
}

Expand All @@ -585,8 +585,6 @@ static void php_memc_get_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool by_key)

memcached_result_free(&result);

RETURN_FALSE;

} else {
int rc;
zend_bool return_value_set = 0;
Expand Down

0 comments on commit 7deb03e

Please sign in to comment.