s3: Remove two unused variables
authorVolker Lendecke <vl@samba.org>
Sat, 21 Apr 2012 08:24:42 +0000 (10:24 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 21 Apr 2012 10:10:37 +0000 (12:10 +0200)
source3/passdb/lookup_sid.c

index f544a3f678a909c34c74ac39015c42c6a23092fc..3f7be2a0de8de6f779ca9b377b3537e00d0a96de 100644 (file)
@@ -1385,7 +1385,6 @@ bool sid_to_uid(const struct dom_sid *psid, uid_t *puid)
        bool expired = true;
        bool ret;
        uint32 rid;
-       gid_t gid;
 
        /* Optimize for the Unix Users Domain
         * as the conversion is straightforward */
@@ -1439,7 +1438,6 @@ bool sid_to_gid(const struct dom_sid *psid, gid_t *pgid)
        bool expired = true;
        bool ret;
        uint32 rid;
-       uid_t uid;
 
        /* Optimize for the Unix Groups Domain
         * as the conversion is straightforward */