From de17ac9a1002e54b622cdcebe4a7504499a7a381 Mon Sep 17 00:00:00 2001 From: Alex Masterov Date: Thu, 9 Feb 2017 11:29:19 +0300 Subject: [PATCH] Remove unnecessary return (#114) 'rv' variable is undeclared and second 'return' is not needed here. --- src/tarantool_network.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tarantool_network.c b/src/tarantool_network.c index 077c3c5..bbc0f26 100644 --- a/src/tarantool_network.c +++ b/src/tarantool_network.c @@ -40,7 +40,6 @@ void tntll_stream_close(php_stream *stream, zend_string *pid) { int tntll_stream_fpid2(zend_string *pid, php_stream **ostream) { TSRMLS_FETCH(); return php_stream_from_persistent_id(pid->val, ostream TSRMLS_CC); - return rv; } int tntll_stream_fpid(const char *host, int port, zend_string *pid,