From: Eric Biggers Date: Mon, 26 May 2014 04:04:20 +0000 (-0500) Subject: Remove unused function lte_filename_valid() X-Git-Tag: v1.7.0~102 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=b7a7e4edd24f1340a8ffe5c760877177ba3bd7d9 Remove unused function lte_filename_valid() --- diff --git a/include/wimlib/lookup_table.h b/include/wimlib/lookup_table.h index f26a6573..4252f3a5 100644 --- a/include/wimlib/lookup_table.h +++ b/include/wimlib/lookup_table.h @@ -351,19 +351,6 @@ lte_is_partial(const struct wim_lookup_table_entry * lte) lte->size != lte->rspec->uncompressed_size; } -static inline bool -lte_filename_valid(const struct wim_lookup_table_entry *lte) -{ - return lte->resource_location == RESOURCE_IN_FILE_ON_DISK - #ifdef __WIN32__ - || lte->resource_location == RESOURCE_WIN32_ENCRYPTED - #endif - #ifdef WITH_FUSE - || lte->resource_location == RESOURCE_IN_STAGING_FILE - #endif - ; -} - static inline const struct stream_owner * stream_owners(struct wim_lookup_table_entry *stream) {