diff options
Diffstat (limited to 'ext/posix')
| -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 */ |
