summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_cab.c
diff options
context:
space:
mode:
Diffstat (limited to 'librpc/ndr/ndr_cab.c')
-rw-r--r--librpc/ndr/ndr_cab.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/librpc/ndr/ndr_cab.c b/librpc/ndr/ndr_cab.c
index 2399a2248a6..98800ebd7b5 100644
--- a/librpc/ndr/ndr_cab.c
+++ b/librpc/ndr/ndr_cab.c
@@ -161,15 +161,6 @@ static bool ndr_size_cab_file(const struct cab_file *r, uint32_t *psize)
return true;
}
-enum cf_compress_type ndr_cab_get_compression(const struct cab_file *r)
-{
- if (r->cfheader.cFolders == 0) {
- return CF_COMPRESS_NONE;
- }
-
- return r->cffolders[0].typeCompress;
-}
-
_PUBLIC_ enum ndr_err_code ndr_push_cab_file(struct ndr_push *ndr, int ndr_flags, const struct cab_file *r)
{
uint32_t cntr_cffolders_0;