summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-04-05 11:13:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:10 -0500
commitbcab9254cc65e72dcb885aac8faec095143587e9 (patch)
tree022b21ab285752ed9527e5374a2229185a345245 /source3/libsmb
parent7a70d9cc877326ad1828e0a80716507e77936ac4 (diff)
downloadsamba-bcab9254cc65e72dcb885aac8faec095143587e9.tar.gz
samba-bcab9254cc65e72dcb885aac8faec095143587e9.tar.xz
samba-bcab9254cc65e72dcb885aac8faec095143587e9.zip
r22091: Fix an uninitialized variable warning
(This used to be commit a6e1e39f1dcd9ebcb5db199fd152a861b9be929b)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/samlogon_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c
index 61dddb62fd3..3edbbaa2c1d 100644
--- a/source3/libsmb/samlogon_cache.c
+++ b/source3/libsmb/samlogon_cache.c
@@ -59,7 +59,6 @@ BOOL netsamlogon_cache_shutdown(void)
***********************************************************************/
void netsamlogon_clear_cached_user(TDB_CONTEXT *tdb, NET_USER_INFO_3 *user)
{
- TDB_DATA key;
BOOL got_tdb = False;
DOM_SID sid;
fstring key_str, sid_string;
@@ -93,7 +92,7 @@ void netsamlogon_clear_cached_user(TDB_CONTEXT *tdb, NET_USER_INFO_3 *user)
fstr_sprintf(key_str, "UG/%s", sid_to_string(sid_string, &sid));
- DEBUG(10, ("netsamlogon_clear_cached_user: clearing %s\n", key.dptr));
+ DEBUG(10, ("netsamlogon_clear_cached_user: clearing %s\n", key_str));
tdb_delete(tdb, string_tdb_data(key_str));