]> wimlib.net Git - wimlib/commitdiff
Remove unused function lte_filename_valid()
authorEric Biggers <ebiggers3@gmail.com>
Mon, 26 May 2014 04:04:20 +0000 (23:04 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Mon, 26 May 2014 04:04:20 +0000 (23:04 -0500)
include/wimlib/lookup_table.h

index f26a6573cbeabb2bb0976f16e57ffe44583f7ce0..4252f3a5ccdac4cbca41b534b9bb687c6f7fef75 100644 (file)
@@ -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)
 {