mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Not needed
This commit is contained in:
parent
61e6cd2a1a
commit
620bf0c37f
2 changed files with 1 additions and 3 deletions
|
@ -83,7 +83,7 @@ void inifile_line_free(line_type *ln)
|
|||
inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC)
|
||||
{
|
||||
inifile *dba;
|
||||
int fd = 0;
|
||||
int fd;
|
||||
|
||||
if (!readonly) {
|
||||
if (!php_stream_truncate_supported(fp)) {
|
||||
|
@ -98,7 +98,6 @@ inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC)
|
|||
dba = pemalloc(sizeof(inifile), persistent);
|
||||
memset(dba, 0, sizeof(inifile));
|
||||
dba->fp = fp;
|
||||
dba->fd = fd;
|
||||
dba->readonly = readonly;
|
||||
return dba;
|
||||
}
|
||||
|
|
|
@ -40,7 +40,6 @@ typedef struct {
|
|||
char *lockfn;
|
||||
int lockfd;
|
||||
php_stream *fp;
|
||||
int fd;
|
||||
int readonly;
|
||||
line_type curr;
|
||||
line_type next;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue