From 7b825feffeb8c3a701890b4d8f8a70504ec0cfa1 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 23 Sep 1996 17:24:57 +0000 Subject: (diskfs_direnter_hard): Initialize OLDSIZE to shut up gcc. --- ufs/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3