From: Günther Deschner Date: Tue, 17 Jun 2008 08:36:53 +0000 (+0200) Subject: net_vampire: fix build warning. X-Git-Tag: samba-3.3.0pre1~895 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb4232fec05cd87ea85a781b84a3fbe85f469703;p=thirdparty%2Fsamba.git net_vampire: fix build warning. Guenther --- diff --git a/source/libnet/libnet_samsync.c b/source/libnet/libnet_samsync.c index d6331fd08ce..ce95dcad5c0 100644 --- a/source/libnet/libnet_samsync.c +++ b/source/libnet/libnet_samsync.c @@ -42,7 +42,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) {