summaryrefslogtreecommitdiffstats
path: root/source/rpc_parse
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
commit397ab2b1ab72093ba0572493b2e97a93dfc75478 (patch)
tree8e40eee0bb1c1ff8eed1f4b194ad1b5ea30d8d10 /source/rpc_parse
parent45d77ae12235e6b39cc30845d69ac3777d3eefd0 (diff)
downloadsamba-397ab2b1ab72093ba0572493b2e97a93dfc75478.tar.gz
samba-397ab2b1ab72093ba0572493b2e97a93dfc75478.tar.xz
samba-397ab2b1ab72093ba0572493b2e97a93dfc75478.zip
r17877: Make it explicit to the checker that we can never pass
in NULL as ctr to a void returning fn. Jeremy.
Diffstat (limited to 'source/rpc_parse')
-rw-r--r--source/rpc_parse/parse_samr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/rpc_parse/parse_samr.c b/source/rpc_parse/parse_samr.c
index 26da7b426d7..f42af48456b 100644
--- 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: