Fix non-linux builds error introduced with THP checks.

This commit is contained in:
antirez
2014-11-14 17:13:35 +01:00
parent 5d8c88fdc1
commit ead8e31b28
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