summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-03-30 13:47:58 +0200
committerStefan Metzmacher <metze@samba.org>2009-04-22 00:03:22 +0200
commit42e3ae655091d48e5a921969849c6173a498c963 (patch)
treeb5fc141f7156a31ecc283c06e1729d89944fcc9e /source4/libcli
parentc78a4ac7ced4abdc0bd090f13cde927356097b0e (diff)
downloadsamba-42e3ae655091d48e5a921969849c6173a498c963.tar.gz
samba-42e3ae655091d48e5a921969849c6173a498c963.tar.bz2
samba-42e3ae655091d48e5a921969849c6173a498c963.zip
libcli: fix a "not handled in switch" compile warning
return NULL also for RAW_CLOSE_GENERIC
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/raw/rawfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawfile.c b/source4/libcli/raw/rawfile.c
index 63de051b33..6fac7b8605 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;
}