diff options
author | Sascha Schumann <sas@php.net> | 2002-05-04 16:54:13 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2002-05-04 16:54:13 +0000 |
commit | 3fbbd61dc2d15ce46915dc987ab9d71a61000320 (patch) | |
tree | cfe867beba09563444eca480928fc290da120ec9 | |
parent | ee707645928bd4847cd7cd81d52a10853871ad7f (diff) | |
download | php-git-3fbbd61dc2d15ce46915dc987ab9d71a61000320.tar.gz |
p is set, but never used.
-rw-r--r-- | ext/posix/posix.c | 3 |
1 files changed, 1 insertions, 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 */ |