summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorZach Loafman <zachary.loafman@isilon.com>2008-07-03 22:53:42 -0700
committerVolker Lendecke <vl@samba.org>2008-07-22 15:00:48 +0200
commit06d0790c0799112b89534a646e78d0cb38b06e20 (patch)
tree2ad1d24462b3c30bb1513d5982e79323f6305996 /source3/nsswitch
parent45bbad9ca03621e67b4fe1db3299da0557fcf812 (diff)
downloadsamba-06d0790c0799112b89534a646e78d0cb38b06e20.tar.gz
samba-06d0790c0799112b89534a646e78d0cb38b06e20.tar.bz2
samba-06d0790c0799112b89534a646e78d0cb38b06e20.zip
Fix various build warnings
This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/libwbclient/wbc_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_sid.c b/source3/nsswitch/libwbclient/wbc_sid.c
index 475c9947e0..09bfc3e840 100644
--- a/source3/nsswitch/libwbclient/wbc_sid.c
+++ b/source3/nsswitch/libwbclient/wbc_sid.c
@@ -242,7 +242,7 @@ wbcErr wbcLookupSid(const struct wbcDomainSid *sid,
char *sid_string = NULL;
char *domain = NULL;
char *name = NULL;
- enum wbcSidType name_type;
+ enum wbcSidType name_type = WBC_SID_NAME_USE_NONE;
if (!sid) {
wbc_status = WBC_ERR_INVALID_PARAM;