summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-09-23 17:24:57 +0000
committerMiles Bader <miles@gnu.org>1996-09-23 17:24:57 +0000
commit39eaa6a47b81c641181528a1c31e9e01cfffecca (patch)
tree60b0f9469bce07b90325f819f4c105370000f88b
parente4ecfc6a5c7636050767f285f3f8cf26bfca11bf (diff)
(diskfs_direnter_hard):
Initialize OLDSIZE to shut up gcc.
-rw-r--r--ufs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/dir.c b/ufs/dir.c
index 397481d0..6c44932d 100644
--- a/ufs/dir.c
+++ b/ufs/dir.c
@@ -494,7 +494,7 @@ diskfs_direnter_hard(struct node *dp,
vm_address_t fromoff, tooff;
int totfreed;
error_t err;
- off_t oldsize;
+ off_t oldsize = 0;
assert (ds->type == CREATE);