summaryrefslogtreecommitdiff
path: root/src/zmalloc.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-11-14 17:13:35 +0100
committerantirez <antirez@gmail.com>2014-11-14 17:13:35 +0100
commit620906693ee2e80f5b8ff835b7fa109b1ff22b63 (patch)
tree1ede5313089912c82aa1e446ff4522ee61592880 /src/zmalloc.c
parent8a75ec0fca824f789f578bffdfc897c4df1b5d2b (diff)
downloadredis-620906693ee2e80f5b8ff835b7fa109b1ff22b63.tar.gz
Fix non-linux builds error introduced with THP checks.
Diffstat (limited to 'src/zmalloc.c')
-rw-r--r--src/zmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zmalloc.c b/src/zmalloc.c
index e58353725..6df51a80f 100644
--- a/src/zmalloc.c
+++ b/src/zmalloc.c
@@ -356,7 +356,7 @@ size_t zmalloc_get_smap_bytes_by_field(char *field) {
}
#else
size_t zmalloc_get_smap_bytes_by_field(char *field) {
- REDIS_NOTUSED(field);
+ ((void) field);
return 0;
}
#endif