Revert "Remove an unused variable"
authorVolker Lendecke <vl@samba.org>
Fri, 11 Jul 2008 15:43:54 +0000 (17:43 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 11 Jul 2008 15:53:25 +0000 (17:53 +0200)
This reverts commit 454cb852e06fa3d8bdd0eebb3ebdb24b3d74ecd0.
(This used to be commit cae8ec3199d5b0ffe0bfb6f15adaa5a12343c763)

source3/passdb/lookup_sid.c

index 777793cbdab1eb1945e41f541fe410d1b263c5ff..4e11bb84d873490200175aa10c9843da4e2b760f 100644 (file)
@@ -1393,6 +1393,7 @@ bool sid_to_uid(const DOM_SID *psid, uid_t *puid)
 
 bool sid_to_gid(const DOM_SID *psid, gid_t *pgid)
 {
+       uint32 rid;
        uid_t uid;
 
        if (fetch_gid_from_cache(pgid, psid))