summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-11-02 00:34:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:38 -0500
commita489c19c4542e10fcdf1f7ee4e8a191b6818fc65 (patch)
treead649743f9edc83d7b797fcb1be743b6ab874726 /source4
parent3b2a6997b43dcfe37adf67c84e564a4fbff5b108 (diff)
downloadsamba-a489c19c4542e10fcdf1f7ee4e8a191b6818fc65.tar.gz
samba-a489c19c4542e10fcdf1f7ee4e8a191b6818fc65.tar.bz2
samba-a489c19c4542e10fcdf1f7ee4e8a191b6818fc65.zip
r11453: Fix warning, for a case that just can't happen.
Andrew Bartlett (This used to be commit c0ba414a38de7ffa7b2a59c664598e64e911fe7c)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samlogon.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c
index 36201aa210..07ffdce006 100644
--- a/source4/torture/rpc/samlogon.c
+++ b/source4/torture/rpc/samlogon.c
@@ -231,6 +231,9 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state,
break;
}
break;
+ default:
+ /* can't happen */
+ return NT_STATUS_INVALID_PARAMETER;
}
if (!base) {