shut up, gcc!

This commit is contained in:
rsc 2006-04-20 20:51:01 +00:00
parent 2c0f3733ad
commit 71e936d716
3 changed files with 3 additions and 0 deletions

View file

@ -152,6 +152,7 @@ iget(int ino)
long flags, i; long flags, i;
Fileinf f; Fileinf f;
memset(&f, 0, sizeof f);
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0); seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
if (read(tapefile, buf, BLSIZE) != BLSIZE) if (read(tapefile, buf, BLSIZE) != BLSIZE)
error("Can't read inode"); error("Can't read inode");

View file

@ -152,6 +152,7 @@ iget(int ino)
long flags, i; long flags, i;
Fileinf f; Fileinf f;
memset(&f, 0, sizeof f);
seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0); seek(tapefile, BLSIZE*((ino-1)/LINOPB + VSUPERB + 1), 0);
if (read(tapefile, buf, BLSIZE) != BLSIZE) if (read(tapefile, buf, BLSIZE) != BLSIZE)
error("Can't read inode"); error("Can't read inode");

View file

@ -153,6 +153,7 @@ iget(int ino)
long flags, i; long flags, i;
Fileinf f; Fileinf f;
memset(&f, 0, sizeof f);
seek(tapefile, BLSIZE*((ino-1)/LINOPB + V6SUPERB + 1), 0); seek(tapefile, BLSIZE*((ino-1)/LINOPB + V6SUPERB + 1), 0);
if (read(tapefile, buf, BLSIZE) != BLSIZE) if (read(tapefile, buf, BLSIZE) != BLSIZE)
error("Can't read inode"); error("Can't read inode");