summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-08-22 15:39:08 +0200
committerGünther Deschner <gd@samba.org>2013-08-29 16:57:51 +0200
commitedca1f9d4828281eb69b606dafd92f75f66fc984 (patch)
tree8a1b22afb4bffc993d2598c25acc0e3d960af3ee
parent0ca9c74f91d5e727d5d37d324d4f1b396e75b1ae (diff)
downloadsamba-edca1f9d4828281eb69b606dafd92f75f66fc984.tar.gz
samba-edca1f9d4828281eb69b606dafd92f75f66fc984.tar.bz2
samba-edca1f9d4828281eb69b606dafd92f75f66fc984.zip
s3-winbindd: remove pointless variable assigment, see the strdup below.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/winbindd/winbindd_ads.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_ads.c b/source3/winbindd/winbindd_ads.c
index 1e45ad9e85..5e6bb92f14 100644
--- a/source3/winbindd/winbindd_ads.c
+++ b/source3/winbindd/winbindd_ads.c
@@ -101,7 +101,6 @@ static ADS_STATUS ads_cached_connection_connect(ADS_STRUCT **adsp,
ads->auth.renewable = renewable;
ads->auth.password = password;
- ads->auth.realm = realm;
ads->auth.realm = SMB_STRDUP(realm);
if (!strupper_m(ads->auth.realm)) {