git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45d77ae
)
r17877: Make it explicit to the checker that we can never pass
author
Jeremy Allison
<jra@samba.org>
Mon, 28 Aug 2006 05:27:30 +0000
(
05:27
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:38:56 +0000
(11:38 -0500)
in NULL as ctr to a void returning fn.
Jeremy.
source/rpc_parse/parse_samr.c
patch
|
blob
|
history
diff --git
a/source/rpc_parse/parse_samr.c
b/source/rpc_parse/parse_samr.c
index 26da7b426d7374e0be72564f3a4333846619413c..f42af48456bff611932f2c2e5319fea7749e5696 100644
(file)
--- a/
source/rpc_parse/parse_samr.c
+++ b/
source/rpc_parse/parse_samr.c
@@
-6895,8
+6895,7
@@
void init_samr_q_set_userinfo2(SAMR_Q_SET_USERINFO2 * q_u,
q_u->switch_value = switch_value;
q_u->ctr = ctr;
- if (q_u->ctr != NULL)
- q_u->ctr->switch_value = switch_value;
+ q_u->ctr->switch_value = switch_value;
switch (switch_value) {
case 18: