From 1d5fb7865d2a8441351668ea43b20a3b64ac232d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 5 Mar 2002 00:41:01 +0000 Subject: Fixed compiler warning about unused variables. (This used to be commit 7bb0dda8ee1d61a0e8448070f1a71fcd13be5d40) --- source3/smbd/uid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index f2b3bdbe6c..c3156b7b14 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -591,16 +591,16 @@ DOM_SID *gid_to_sid(DOM_SID *psid, gid_t gid) BOOL sid_to_uid(DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype) { - fstring dom_name, name, sid_str; - enum SID_NAME_USE name_type; - - *sidtype = SID_NAME_UNKNOWN; - + fstring sid_str; /* (tridge) I commented out the slab of code below in order to support foreign SIDs Do we really need to validate the type of SID we have in this case? */ #if 0 + fstring dom_name, name; + enum SID_NAME_USE name_type; + + *sidtype = SID_NAME_UNKNOWN; /* * First we must look up the name and decide if this is a user sid. */ -- cgit