From 8c55f44465a6a2104a3649c3e26c92f18a0c3b01ec80f30b962ae2a248bbcdd6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 20 Mar 2022 19:39:22 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=87 --- fix-i586.patch | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 fix-i586.patch diff --git a/fix-i586.patch b/fix-i586.patch deleted file mode 100644 index b9fde45..0000000 --- a/fix-i586.patch +++ /dev/null @@ -1,22 +0,0 @@ -Index: cppcheck-2.4.1/test/testexprengine.cpp -=================================================================== ---- cppcheck-2.4.1.orig/test/testexprengine.cpp -+++ cppcheck-2.4.1/test/testexprengine.cpp -@@ -811,12 +811,17 @@ private: - " *x = 2;\n" - " *x = 1;\n" - "}"; -+#if INTPTR_MAX == INT64_MAX -+ // for 32bit the situation is more complex, armv7l has ffffffff, -+ // i586 has hfffffffflffffffff - so better not test this in those -+ // situations - ASSERT_EQUALS("1:28: $2=ArrayValue([$1],[:]=?,null)\n" - "1:28: $1=IntRange(1:ffffffffffffffff)\n" - "1:28: 0:memory:{x=($2,[$1],[:]=?)}\n" - "2:9: 0:memory:{x=($2,[$1],[:]=?,[0]=2)}\n" - "3:9: 0:memory:{x=($2,[$1],[:]=?,[0]=1)}\n", - trackExecution(code)); -+#endif - } - - void arrayInit1() {