Skip to content

Commit

Permalink
Remove unnecessary return (#114)
Browse files Browse the repository at this point in the history
'rv' variable is undeclared and second 'return' is not needed here.
  • Loading branch information
AlexMasterov authored and bigbes committed Feb 9, 2017
1 parent fbfb006 commit de17ac9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tarantool_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit de17ac9

Please sign in to comment.