summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-08-21 18:33:58 +0000
committerJeremy Allison <jra@samba.org>2001-08-21 18:33:58 +0000
commitdd5378522539b913e140dd58f72b5eca1d61360a (patch)
tree66271cea53f014e726cd621f27287de067a71060 /source3/locking
parent75eae84b1c90f9874dd4e6ef34fd6fd72322689a (diff)
downloadsamba-dd5378522539b913e140dd58f72b5eca1d61360a.tar.gz
samba-dd5378522539b913e140dd58f72b5eca1d61360a.tar.bz2
samba-dd5378522539b913e140dd58f72b5eca1d61360a.zip
Missed uninitialized variable return for del_share_mode().
Jeremy. (This used to be commit e4a57fb45660b82eaec751f1b41f657a64d963fd)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
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;