diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-04-05 11:13:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:10 -0500 |
commit | bcab9254cc65e72dcb885aac8faec095143587e9 (patch) | |
tree | 022b21ab285752ed9527e5374a2229185a345245 /source3/libsmb | |
parent | 7a70d9cc877326ad1828e0a80716507e77936ac4 (diff) | |
download | samba-bcab9254cc65e72dcb885aac8faec095143587e9.tar.gz samba-bcab9254cc65e72dcb885aac8faec095143587e9.tar.bz2 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.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c index 61dddb62fd..3edbbaa2c1 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)); |