From 42e3ae655091d48e5a921969849c6173a498c963 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Jacke?= Date: Mon, 30 Mar 2009 13:47:58 +0200 Subject: [PATCH] libcli: fix a "not handled in switch" compile warning return NULL also for RAW_CLOSE_GENERIC --- source4/libcli/raw/rawfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c index 63de051b3327..6fac7b8605cb 100644 --- a/source4/libcli/raw/rawfile.c +++ b/source4/libcli/raw/rawfile.c @@ -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; } -- 2.34.1