Fix unused variables warnings in crc32
This commit is contained in:
parent
26879ca91a
commit
ae06300c17
@ -82,6 +82,9 @@ class IteratorbasedCRC32
|
|||||||
: "0"(crc), "c"(*str));
|
: "0"(crc), "c"(*str));
|
||||||
++str;
|
++str;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)str;
|
||||||
|
(void)len;
|
||||||
#endif
|
#endif
|
||||||
return crc;
|
return crc;
|
||||||
}
|
}
|
||||||
@ -95,8 +98,11 @@ class IteratorbasedCRC32
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__MINGW64__) || defined(_MSC_VER) || !defined(__x86_64__)
|
#if defined(__MINGW64__) || defined(_MSC_VER) || !defined(__x86_64__)
|
||||||
inline void
|
inline void __get_cpuid(int /*param*/,
|
||||||
__get_cpuid(int param, unsigned *eax, unsigned *ebx, unsigned *ecx, unsigned *edx) const
|
unsigned * /*eax*/,
|
||||||
|
unsigned * /*ebx*/,
|
||||||
|
unsigned *ecx,
|
||||||
|
unsigned * /*edx*/) const
|
||||||
{
|
{
|
||||||
*ecx = 0;
|
*ecx = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user