diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-23 11:49:24 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-23 11:49:24 +0100 |
commit | 118e010f3fb0512776a28569b42ef66e6d6b3a8f (patch) | |
tree | f22f08c30c9721503c976da44d4e0eeb18dea33c /libbb | |
parent | 3b974365a17e3a580d908b7deed2410f2ac03d97 (diff) | |
download | busybox-w32-118e010f3fb0512776a28569b42ef66e6d6b3a8f.tar.gz busybox-w32-118e010f3fb0512776a28569b42ef66e6d6b3a8f.tar.bz2 busybox-w32-118e010f3fb0512776a28569b42ef66e6d6b3a8f.zip |
inode_hash: avoid warnings about unused parameters
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/inode_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
56 | return NULL; | 56 | return NULL; |
57 | } | 57 | } |
58 | 58 | ||
59 | #if !ENABLE_PLATFORM_MINGW32 | ||
59 | /* Add statbuf to statbuf hash table */ | 60 | /* Add statbuf to statbuf hash table */ |
60 | void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) | 61 | void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name) |
61 | { | 62 | { |
62 | #if !ENABLE_PLATFORM_MINGW32 | ||
63 | int i; | 63 | int i; |
64 | ino_dev_hashtable_bucket_t *bucket; | 64 | ino_dev_hashtable_bucket_t *bucket; |
65 | 65 | ||
@@ -77,8 +77,8 @@ void FAST_FUNC add_to_ino_dev_hashtable(const struct stat *statbuf, const char * | |||
77 | i = hash_inode(statbuf->st_ino); | 77 | i = hash_inode(statbuf->st_ino); |
78 | bucket->next = ino_dev_hashtable[i]; | 78 | bucket->next = ino_dev_hashtable[i]; |
79 | ino_dev_hashtable[i] = bucket; | 79 | ino_dev_hashtable[i] = bucket; |
80 | #endif | ||
81 | } | 80 | } |
81 | #endif | ||
82 | 82 | ||
83 | #if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP | 83 | #if ENABLE_DU || ENABLE_FEATURE_CLEAN_UP |
84 | /* Clear statbuf hash table */ | 84 | /* Clear statbuf hash table */ |