From dd5378522539b913e140dd58f72b5eca1d61360a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 21 Aug 2001 18:33:58 +0000 Subject: Missed uninitialized variable return for del_share_mode(). Jeremy. (This used to be commit e4a57fb45660b82eaec751f1b41f657a64d963fd) --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 4b037c0f3d..a9bcada026 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -472,7 +472,7 @@ ssize_t del_share_entry( SMB_DEV_T dev, SMB_INO_T inode, struct locking_data *data; int i, del_count=0; share_mode_entry *shares; - ssize_t count; + ssize_t count = 0; if (ppse) *ppse = NULL; -- cgit