summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-28 05:27:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:56 -0500
commit4d6b8ac0872a98aedf0c799f90b2620377386516 (patch)
tree2b90ed034691a0ccd996d313fdcdff1f3a653cd8
parent9ab430ac4b9555206c25d04cddd57283397dd529 (diff)
downloadsamba-4d6b8ac0872a98aedf0c799f90b2620377386516.tar.gz
samba-4d6b8ac0872a98aedf0c799f90b2620377386516.tar.bz2
samba-4d6b8ac0872a98aedf0c799f90b2620377386516.zip
r17877: Make it explicit to the checker that we can never pass
in NULL as ctr to a void returning fn. Jeremy. (This used to be commit 397ab2b1ab72093ba0572493b2e97a93dfc75478)
-rw-r--r--source3/rpc_parse/parse_samr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 26da7b426d..f42af48456 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/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: