]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
False positive knownConditionTrueFalse
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 15 May 2024 14:01:02 +0000 (17:01 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 15 May 2024 14:01:02 +0000 (17:01 +0300)
src/hs_valid_platform.c

index 3fa1b08d8c7ffe2f5489734dc2511b75d864a409..00c612bc9c6e48b8dec8e938c1f6724e83e737ce 100644 (file)
@@ -49,6 +49,7 @@ hs_error_t HS_CDECL hs_valid_platform(void) {
     }
 #elif !defined(VS_SIMDE_BACKEND) && (defined(ARCH_ARM32) || defined(ARCH_AARCH64))
    //check_neon returns true for now
+   // cppcheck-suppress knownConditionTrueFalse
    if (check_neon()) {
         return HS_SUCCESS;
     } else {