summaryrefslogtreecommitdiff
path: root/source3/smbd/quotas.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-25 10:41:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:57 -0500
commitbd08ae25dccff147547cda7575e2171abeb2195f (patch)
treeb5a56457637ea2a0f4e9970361444af998acddb0 /source3/smbd/quotas.c
parenta0d20293393f30c99d6593bd1976f11810681f9b (diff)
downloadsamba-bd08ae25dccff147547cda7575e2171abeb2195f.tar.gz
samba-bd08ae25dccff147547cda7575e2171abeb2195f.tar.bz2
samba-bd08ae25dccff147547cda7575e2171abeb2195f.zip
r12477: Remove a gcc -O6 warning
(This used to be commit dd39a37f8e6ab7dad46b180959636f5e402c136d)
Diffstat (limited to 'source3/smbd/quotas.c')
-rw-r--r--source3/smbd/quotas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/quotas.c b/source3/smbd/quotas.c
index de31376d6c..d6ba7bc2d5 100644
--- a/source3/smbd/quotas.c
+++ b/source3/smbd/quotas.c
@@ -206,6 +206,8 @@ BOOL disk_quotas(const char *path, SMB_BIG_UINT *bsize, SMB_BIG_UINT *dfree, SMB
uid_t euser_id;
gid_t egrp_id;
+ ZERO_STRUCT(D);
+
euser_id = geteuid();
egrp_id = getegid();