mirror of
https://github.com/php/php-src.git
synced 2024-12-03 23:05:57 +08:00
Cleanup unnecessary if guard clause to free buffer.
This commit is contained in:
parent
f50c460723
commit
58d661cd7d
@ -1417,12 +1417,6 @@ static ZEND_COLD void php_error_cb(int type, const char *error_filename, const u
|
||||
break;
|
||||
}
|
||||
|
||||
/* Log if necessary */
|
||||
if (!display) {
|
||||
efree(buffer);
|
||||
return;
|
||||
}
|
||||
|
||||
efree(buffer);
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user