]> granicus.if.org Git - php/commitdiff
Not needed
authorMarcus Boerger <helly@php.net>
Sun, 14 Dec 2003 22:07:29 +0000 (22:07 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 14 Dec 2003 22:07:29 +0000 (22:07 +0000)
ext/dba/libinifile/inifile.c
ext/dba/libinifile/inifile.h

index 15bd9c91da6adb0b0892b5c8bdc2ae85167f7a57..2e624128b3fcbf780e2689635c9466fc5e5c8155 100644 (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;
 }
index d2f34bbacdb3030e0cfa6bb48ec67731d9d21314..ccba86c29f6a769e95ff7f5626917ce66a4ca69d 100644 (file)
@@ -40,7 +40,6 @@ typedef struct {
        char *lockfn;
        int lockfd;
        php_stream *fp;
-       int fd;
        int readonly;
        line_type curr;
        line_type next;