From a489c19c4542e10fcdf1f7ee4e8a191b6818fc65 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 2 Nov 2005 00:34:25 +0000 Subject: r11453: Fix warning, for a case that just can't happen. Andrew Bartlett (This used to be commit c0ba414a38de7ffa7b2a59c664598e64e911fe7c) --- source4/torture/rpc/samlogon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/torture') 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) { -- cgit