From 3fbbd61dc2d15ce46915dc987ab9d71a61000320 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 4 May 2002 16:54:13 +0000 Subject: [PATCH] p is set, but never used. --- ext/posix/posix.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 */ -- 2.50.1