net_vampire: fix build warning.
authorGünther Deschner <gd@samba.org>
Tue, 17 Jun 2008 08:36:53 +0000 (10:36 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 17 Jun 2008 08:54:37 +0000 (10:54 +0200)
Guenther
(cherry picked from commit eb4232fec05cd87ea85a781b84a3fbe85f469703)

source/libnet/libnet_samsync.c

index e45a84568ca89e6577e00fa4c596f8bc56dff49a..61d53c37d0a1606c6582e7640788b5484a514fab 100644 (file)
@@ -41,7 +41,6 @@ static NTSTATUS fix_user(TALLOC_CTX *mem_ctx,
        struct netr_DELTA_USER *user = delta->delta_union.user;
        struct samr_Password lm_hash;
        struct samr_Password nt_hash;
-       const char *username = user->account_name.string;
 
        if (rid_crypt) {
                if (user->lm_password_present) {