Commit ee542790 authored by Tianjiao Yin's avatar Tianjiao Yin Committed by Facebook Github Bot 0

suppress unused variable warnings

Reviewed By: yfeldblum

Differential Revision: D3501266

fbshipit-source-id: 2ac3b6e2785792ccc45f4568ceff7fd05f0262f3
parent 3f09eed1
......@@ -245,7 +245,7 @@ namespace {
template <typename T>
void checkArrayIndex(const T& array, size_t index) {
assert(index < sizeof(array) / sizeof(array[0]));
DCHECK_LT(index, sizeof(array) / sizeof(array[0]));
}
}
......
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