From: Sascha Schumann Date: Sat, 4 May 2002 16:54:13 +0000 (+0000) Subject: p is set, but never used. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~255 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3fbbd61dc2d15ce46915dc987ab9d71a61000320;p=php p is set, but never used. --- diff --git a/ext/posix/posix.c b/ext/posix/posix.c index cf7461546b..4ea521997e 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -563,12 +563,11 @@ PHP_FUNCTION(posix_times) PHP_FUNCTION(posix_ctermid) { char buffer[L_ctermid]; - char *p; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) return; - if (NULL == (p = ctermid(buffer))) { + if (NULL == ctermid(buffer)) { /* Found no documentation how the defined behaviour is when this * function fails */