From 118e010f3fb0512776a28569b42ef66e6d6b3a8f Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Wed, 23 Aug 2017 11:49:24 +0100 Subject: inode_hash: avoid warnings about unused parameters --- libbb/inode_hash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/inode_hash.c b/libbb/inode_hash.c index 64f43b885..bfed6567c 100644 --- a/libbb/inode_hash.c +++ b/libbb/inode_hash.c @@ -56,10 +56,10 @@ char* FAST_FUNC is_in_ino_dev_hashtable(const struct stat *statbuf) return NULL; } +#if !ENABLE_PLATFORM_MINGW32 /* Add statbuf to statbuf hash table */ void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) { -#if !ENABLE_PLATFORM_MINGW32 int i; ino_dev_hashtable_bucket_t *bucket; @@ -77,8 +77,8 @@ void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char * i = hash_inode(statbuf->st_ino); bucket->next = ino_dev_hashtable[i]; ino_dev_hashtable[i] = bucket; -#endif } +#endif #if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP /* Clear statbuf hash table */ -- cgit v1.2.3-55-g6feb