mirror of
https://github.com/aaru-dps/Aaru.Checksums.git
synced 2025-12-16 19:24:29 +00:00
Convert constants to const, or remove if unused.
This commit is contained in:
@@ -65,8 +65,8 @@ static class Neon
|
|||||||
/*
|
/*
|
||||||
* Process the data in blocks.
|
* Process the data in blocks.
|
||||||
*/
|
*/
|
||||||
uint block_Size = 1 << 5;
|
const uint block_Size = 1 << 5;
|
||||||
uint blocks = len / block_Size;
|
uint blocks = len / block_Size;
|
||||||
len -= blocks * block_Size;
|
len -= blocks * block_Size;
|
||||||
|
|
||||||
while(blocks != 0)
|
while(blocks != 0)
|
||||||
|
|||||||
@@ -62,8 +62,8 @@ static class Ssse3
|
|||||||
/*
|
/*
|
||||||
* Process the data in blocks.
|
* Process the data in blocks.
|
||||||
*/
|
*/
|
||||||
uint block_Size = 1 << 5;
|
const uint block_Size = 1 << 5;
|
||||||
uint blocks = len / block_Size;
|
uint blocks = len / block_Size;
|
||||||
len -= blocks * block_Size;
|
len -= blocks * block_Size;
|
||||||
|
|
||||||
while(blocks != 0)
|
while(blocks != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user