fixed unused variable
authorAndrew Tridgell <tridge@samba.org>
Sun, 18 Mar 2001 23:42:30 +0000 (23:42 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 18 Mar 2001 23:42:30 +0000 (23:42 +0000)
source/passdb/pdb_smbpasswd.c

index f0b3ef68cdaca13481039bdeced51b535f91168d..2449eec1f05f90d9d05f26084188e79cf0567cec 100644 (file)
@@ -1269,7 +1269,7 @@ static BOOL build_sam_account (SAM_ACCOUNT *sam_pass,
        if (samlogon_user[strlen(samlogon_user)-1] != '$')
        {
                pstring         str;
-               gid_t           gid;
+               gid_t           gid = getegid();
                
                sam_logon_in_ssb = True;