mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Removed unused variables.
This commit is contained in:
parent
34a3019acd
commit
c344754d48
@ -481,17 +481,14 @@ bound:
|
||||
PHPAPI int php_network_parse_network_address_with_port(const char *addr, long addrlen, struct sockaddr *sa, socklen_t *sl TSRMLS_DC)
|
||||
{
|
||||
char *colon;
|
||||
char *host = NULL;
|
||||
int is_v6;
|
||||
char *tmp;
|
||||
int ret = FAILURE;
|
||||
short port;
|
||||
struct sockaddr_in *in4 = (struct sockaddr_in*)sa;
|
||||
struct sockaddr **sal, **psal;
|
||||
struct sockaddr **psal;
|
||||
int n;
|
||||
char *errstr = NULL;
|
||||
#ifdef HAVE_IPV6
|
||||
char *p;
|
||||
struct sockaddr_in6 *in6 = (struct sockaddr_in6*)sa;
|
||||
#endif
|
||||
|
||||
|
@ -141,9 +141,11 @@ static size_t php_sockop_read(php_stream *stream, char *buf, size_t count TSRMLS
|
||||
static int php_sockop_close(php_stream *stream, int close_handle TSRMLS_DC)
|
||||
{
|
||||
php_netstream_data_t *sock = (php_netstream_data_t*)stream->abstract;
|
||||
#ifdef PHP_WIN32
|
||||
fd_set wrfds, efds;
|
||||
int n;
|
||||
struct timeval timeout;
|
||||
#endif
|
||||
|
||||
if (close_handle) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user