cvs: php4 /ext/sockets sockets.c

From: Date: Tue, 16 Jan 2001 20:37:51 +0000
Subject: cvs: php4 /ext/sockets sockets.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-3655@lists.php.net to get a copy of this message
rasmus Tue Jan 16 12:37:51 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Kill some warnings Index: php4/ext/sockets/sockets.c diff -u php4/ext/sockets/sockets.c:1.27 php4/ext/sockets/sockets.c:1.28 --- php4/ext/sockets/sockets.c:1.27 Wed Jan 3 10:06:10 2001 +++ php4/ext/sockets/sockets.c Tue Jan 16 12:37:51 2001 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sockets.c,v 1.27 2001/01/03 18:06:10 jon Exp $ */ +/* $Id: sockets.c,v 1.28 2001/01/16 20:37:51 rasmus Exp $ */ #include "php.h" @@ -1077,7 +1077,6 @@ { zval **error; const char *buf; - char *obuf; if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &error) == FAILURE) { @@ -1333,7 +1332,6 @@ { 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 @@ 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) {

« previous php.cvs (#3655) next »