Fix non-linux builds error introduced with THP checks.

This commit is contained in:
antirez
2014-11-14 17:13:35 +01:00
parent 8a75ec0fca
commit 620906693e
2 changed files with 2 additions and 2 deletions

View File

@ -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