Skip to content

Commit cbea40d

Browse files
committed
Fix an unused var warning for RISC-V
1 parent 633cb9c commit cbea40d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snappy.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ inline bool Copy64BytesWithPatternExtension(ptrdiff_t dst, size_t offset) {
12241224
void MemCopy64(char* dst, const void* src, size_t size) {
12251225
// Always copy this many bytes. If that's below size then copy the full 64.
12261226
constexpr int kShortMemCopy = 32;
1227-
1227+
(void)kShortMemCopy;
12281228
assert(size <= 64);
12291229
assert(std::less_equal<const void*>()(static_cast<const char*>(src) + size,
12301230
dst) ||

0 commit comments

Comments
 (0)