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
commit7b825feffeb8c3a701890b4d8f8a70504ec0cfa1 (patch)
tree7e0ec63b6097744f602380050258e05ca62764cb
parent9742b174ff81d0c87666432f77c6083f224e3929 (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);