diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-01-16 20:37:51 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-01-16 20:37:51 +0000 |
commit | 69abc1e9d75a8e6ef41fff40d426211ad0ac7a0b (patch) | |
tree | 331f472746451dfb6c618d6c980a169876b0eb80 | |
parent | fa0727e794515e8bd1311277fb32e68cce71ea03 (diff) | |
download | php-git-69abc1e9d75a8e6ef41fff40d426211ad0ac7a0b.tar.gz |
Kill some warnings
-rw-r--r-- | ext/sockets/sockets.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c index 70dc2dcbf1..fe820cdbdf 100644 --- a/ext/sockets/sockets.c +++ b/ext/sockets/sockets.c @@ -1077,7 +1077,6 @@ PHP_FUNCTION(strerror) { zval **error; const char *buf; - char *obuf; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &error) == FAILURE) { @@ -1333,7 +1332,6 @@ PHP_FUNCTION(free_iovec) { zval **iovec_id; php_iovec_t *vector; - int pos; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &iovec_id) == FAILURE) { WRONG_PARAM_COUNT; @@ -2028,9 +2026,8 @@ PHP_FUNCTION(setsockopt) Creates a pair of indistinguishable sockets and stores them in fds. */ PHP_FUNCTION(socketpair) { - zval **domain, **type, **protocol, **fds, **fd; + zval **domain, **type, **protocol, **fds; int ret, fds_ar[2]; - HashTable *fd_ar; if (ZEND_NUM_ARGS() != 4 || zend_get_parameters_ex(4, &domain, &type, &protocol, &fds) == FAILURE) { |