git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c261e70
)
Remove unneeded variable "const struct auth_session_info *session_info"
author
Jeremy Allison
<jra@samba.org>
Thu, 20 Dec 2012 19:55:09 +0000
(11:55 -0800)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 14 Jan 2013 18:03:28 +0000
(19:03 +0100)
Signed-off-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
5a3cda176f5eecd65b289c74132b0126357c5ef0
)
source3/smbd/uid.c
patch
|
blob
|
history
diff --git
a/source3/smbd/uid.c
b/source3/smbd/uid.c
index 298fa831125c51bcc1ae80f19202d70481db5574..9244f2997d0cd2b265260ba049ce2b8d18c9b995 100644
(file)
--- a/
source3/smbd/uid.c
+++ b/
source3/smbd/uid.c
@@
-271,7
+271,6
@@
static bool change_to_user_internal(connection_struct *conn,
bool change_to_user(connection_struct *conn, uint64_t vuid)
{
- const struct auth_session_info *session_info = NULL;
struct user_struct *vuser;
int snum = SNUM(conn);
@@
-298,8
+297,7
@@
bool change_to_user(connection_struct *conn, uint64_t vuid)
return false;
}
- session_info = vuser->session_info;
- return change_to_user_internal(conn, session_info, vuid);
+ return change_to_user_internal(conn, vuser->session_info, vuid);
}
static bool change_to_user_by_session(connection_struct *conn,