diff options
-rw-r--r-- | librpc/ndr/ndr_cab.c | 9 | ||||
-rw-r--r-- | librpc/ndr/ndr_cab.h | 1 |
2 files changed, 0 insertions, 10 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; diff --git a/librpc/ndr/ndr_cab.h b/librpc/ndr/ndr_cab.h index 79871530eb9..59dbc991442 100644 --- a/librpc/ndr/ndr_cab.h +++ b/librpc/ndr/ndr_cab.h @@ -21,4 +21,3 @@ uint32_t ndr_count_cfdata(const struct cab_file *r); uint32_t ndr_cab_generate_checksum(const struct CFDATA *r); -enum cf_compress_type ndr_cab_get_compression(const struct cab_file *r); |