summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/rawsetfileinfo.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-10 03:48:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:01 -0500
commit0eeedb97a5b28c20edcf13d37e52b8e8b98567f6 (patch)
tree91bfe583a974b35795fada1c7b53a7a288bd8d22 /source4/libcli/raw/rawsetfileinfo.c
parent16a9bfd33f52cb398c6d3d3472d9dbe53927370d (diff)
downloadsamba-0eeedb97a5b28c20edcf13d37e52b8e8b98567f6.tar.gz
samba-0eeedb97a5b28c20edcf13d37e52b8e8b98567f6.tar.bz2
samba-0eeedb97a5b28c20edcf13d37e52b8e8b98567f6.zip
r11626: Fix unhandled enum in case statement warnings by noting appropriately
that some values aren't handled. The remaining warnings I think are actual bugs or required functionality that is missing (mostly lack of server side Unix extensions). (This used to be commit 03c7da27a06736f2a27d76e6a00a24ab54453af9)
Diffstat (limited to 'source4/libcli/raw/rawsetfileinfo.c')
-rw-r--r--source4/libcli/raw/rawsetfileinfo.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/libcli/raw/rawsetfileinfo.c b/source4/libcli/raw/rawsetfileinfo.c
index 7934171ab0..5e780757e8 100644
--- a/source4/libcli/raw/rawsetfileinfo.c
+++ b/source4/libcli/raw/rawsetfileinfo.c
@@ -124,6 +124,18 @@ static BOOL smb_raw_setinfo_backend(struct smbcli_tree *tree,
NEED_BLOB(4);
SIVAL(blob->data, 0, parms->mode_information.in.mode);
return True;
+
+ /* Unhandled levels */
+
+ case RAW_SFILEINFO_UNIX_LINK:
+ case RAW_SFILEINFO_UNIX_HLINK:
+ case RAW_SFILEINFO_1023:
+ case RAW_SFILEINFO_1025:
+ case RAW_SFILEINFO_1029:
+ case RAW_SFILEINFO_1032:
+ case RAW_SFILEINFO_1039:
+ case RAW_SFILEINFO_1040:
+ break;
}
return False;