tshut up, gcc! - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 71e936d7166b088aa3e2ec55d14b53cb2a3ac5ec
 (DIR) parent 2c0f3733ade43a38576aec82eced8768b42f9980
 (HTM) Author: rsc <devnull@localhost>
       Date:   Thu, 20 Apr 2006 20:51:01 +0000
       
       shut up, gcc!
       
       Diffstat:
         M src/cmd/tapefs/32vfs.c              |       1 +
         M src/cmd/tapefs/v10fs.c              |       1 +
         M src/cmd/tapefs/v6fs.c               |       1 +
       
       3 files changed, 3 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/tapefs/32vfs.c b/src/cmd/tapefs/32vfs.c
       t@@ -152,6 +152,7 @@ iget(int ino)
                long flags, i;
                Fileinf f;
        
       +        memset(&f, 0, sizeof f);
                seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
                if (read(tapefile, buf, BLSIZE) != BLSIZE)
                        error("Can't read inode");
 (DIR) diff --git a/src/cmd/tapefs/v10fs.c b/src/cmd/tapefs/v10fs.c
       t@@ -152,6 +152,7 @@ iget(int ino)
                long flags, i;
                Fileinf f;
        
       +        memset(&f, 0, sizeof f);
                seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
                if (read(tapefile, buf, BLSIZE) != BLSIZE)
                        error("Can't read inode");
 (DIR) diff --git a/src/cmd/tapefs/v6fs.c b/src/cmd/tapefs/v6fs.c
       t@@ -153,6 +153,7 @@ iget(int ino)
                long flags, i;
                Fileinf f;
        
       +        memset(&f, 0, sizeof f);
                seek(tapefile, BLSIZE*((ino-1)/LINOPB + V6SUPERB + 1), 0);
                if (read(tapefile, buf, BLSIZE) != BLSIZE)
                        error("Can't read inode");