Commit 90ce64f9 authored by Andrew Gallagher's avatar Andrew Gallagher Committed by Facebook Github Bot

Fix some clang build failures on aarch64

Reviewed By: Orvid

Differential Revision: D6387412

fbshipit-source-id: 4c1424ed4fa49e69885de8cd72e78169314fc502
parent 87cfad8e
......@@ -72,8 +72,10 @@ bool crc32_hw_supported() {
#else
uint32_t crc32_hw(const uint8_t *data, size_t nbytes,
uint32_t startingChecksum) {
uint32_t crc32_hw(
const uint8_t* /* data */,
size_t /* nbytes */,
uint32_t /* startingChecksum */) {
throw std::runtime_error("crc32_hw is not implemented on this platform");
}
......
......@@ -288,7 +288,8 @@ uint32_t crc32c_hw(const uint8_t* buf, size_t len, uint32_t crc) {
#else
uint32_t crc32c_hw(const uint8_t* buf, size_t len, uint32_t crc) {
uint32_t
crc32c_hw(const uint8_t* /* buf */, size_t /* len */, uint32_t /* crc */) {
throw std::runtime_error("crc32_hw is not implemented on this platform");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment