From: Björn Jacke Date: Mon, 30 Mar 2009 11:47:58 +0000 (+0200) Subject: libcli: fix a "not handled in switch" compile warning X-Git-Tag: tdb-1.1.5~919^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e3ae655091d48e5a921969849c6173a498c963;p=thirdparty%2Fsamba.git libcli: fix a "not handled in switch" compile warning return NULL also for RAW_CLOSE_GENERIC --- diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c index 63de051b332..6fac7b8605c 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; }