Not needed

This commit is contained in:
Marcus Boerger 2003-12-14 22:07:29 +00:00
parent 61e6cd2a1a
commit 620bf0c37f
2 changed files with 1 additions and 3 deletions

View file

@ -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;
}

View file

@ -40,7 +40,6 @@ typedef struct {
char *lockfn;
int lockfd;
php_stream *fp;
int fd;
int readonly;
line_type curr;
line_type next;