mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-15 17:02:14 +03:00
Cppcheck errors fixed and suppressed (#319)
* supress knownConditionTrueFalse * cppcheck suppress redundantInitialization * cppcheck solve stlcstrStream * cppcheck suppress useStlAlgorithm * cppcheck-suppress derefInvalidIteratorRedundantCheck * cppcheck solvwe constParameterReference * const parameter reference cppcheck * removed wrong fix * cppcheck-suppress memsetClassFloat * cppcheck fix memsetClassFloat * cppcheck fix unsignedLessThanZero * supressing all errors on simde gitmodule * fix typo (unsignedLessThanZero) * fix cppcheck suppress simde gitmodule * cppcheck-suppress unsignedLessThanZero --------- Co-authored-by: gtsoul-tech <gtsoulkanakis@gmail.com>
This commit is contained in:
@@ -38,8 +38,8 @@ using namespace ue2;
|
||||
|
||||
TEST(Truffle, CompileDot) {
|
||||
m128 mask1, mask2;
|
||||
memset(&mask1, 0, sizeof(mask1));
|
||||
memset(&mask2, 0, sizeof(mask2));
|
||||
memset(&mask1, 0, sizeof(mask1)); // cppcheck-suppress memsetClassFloat
|
||||
memset(&mask2, 0, sizeof(mask2)); // cppcheck-suppress memsetClassFloat
|
||||
|
||||
CharReach chars;
|
||||
|
||||
@@ -93,8 +93,8 @@ TEST(Truffle, CompileChars) {
|
||||
|
||||
TEST(Truffle, ExecNoMatch1) {
|
||||
m128 mask1, mask2;
|
||||
memset(&mask1, 0, sizeof(mask1));
|
||||
memset(&mask2, 0, sizeof(mask2));
|
||||
memset(&mask1, 0, sizeof(mask1)); // cppcheck-suppress memsetClassFloat
|
||||
memset(&mask2, 0, sizeof(mask2)); // cppcheck-suppress memsetClassFloat
|
||||
|
||||
CharReach chars;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user