mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-12-31 13:49:07 +03:00
Bug fix/clang tidy warnings part3 (#298)
* clang-analyzer-deadcode.DeadStores * clang-analyzer-optin.performance.Padding --------- Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
This commit is contained in:
@@ -206,8 +206,7 @@ bytecode_ptr<FDR> FDRCompiler::setupFDR() {
|
||||
assert(ISALIGNED_CL(ptr));
|
||||
fdr->floodOffset = verify_u32(ptr - fdr_base);
|
||||
memcpy(ptr, floodTable.get(), floodTable.size());
|
||||
ptr += floodTable.size(); // last write, no need to round up
|
||||
|
||||
|
||||
return fdr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user