Adjust a few things to avoid triggering warnings under MSVC
[folly.git] / folly / portability / Unistd.cpp
index 32e01f1f00aef2ae4a5064a7dc1f7cd4212f17ac..4d387b0220a199a6af36475e0f6928bbfc95ea1e 100755 (executable)
@@ -228,7 +228,9 @@ ssize_t readlink(const char* path, char* buf, size_t buflen) {
   return ret;
 }
 
-void* sbrk(intptr_t i) { return (void*)-1; }
+void* sbrk(intptr_t /* i */) {
+  return (void*)-1;
+}
 
 unsigned int sleep(unsigned int seconds) {
   Sleep((DWORD)(seconds * 1000));