libcli: fix a "not handled in switch" compile warning
authorBjörn Jacke <bj@sernet.de>
Mon, 30 Mar 2009 11:47:58 +0000 (13:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 21 Apr 2009 22:03:22 +0000 (00:03 +0200)
return NULL also for RAW_CLOSE_GENERIC

source4/libcli/raw/rawfile.c

index 63de051b33273c08dd75e0995c8fa6d9a8b930ea..6fac7b8605cb7742ec765efbd1c361d2d1023df7 100644 (file)
@@ -796,6 +796,7 @@ _PUBLIC_ struct smbcli_request *smb_raw_close_send(struct smbcli_tree *tree, uni
                break;
 
        case RAW_CLOSE_SMB2:
+       case RAW_CLOSE_GENERIC:
                return NULL;
        }