r11453: Fix warning, for a case that just can't happen.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 2 Nov 2005 00:34:25 +0000 (00:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:45:38 +0000 (13:45 -0500)
Andrew Bartlett

source/torture/rpc/samlogon.c

index 36201aa210fe0b72d02367045b88bc99a33473a6..07ffdce006e9d159176ba81a238046780e24275e 100644 (file)
@@ -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) {