]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer warning) (#100215)
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>
Tue, 13 Dec 2022 13:55:10 +0000 (13:55 +0000)
committerGitHub <noreply@github.com>
Tue, 13 Dec 2022 13:55:10 +0000 (13:55 +0000)
Python/compile.c

index 17b164a4d06ef51d23bc09439f8f24151c9d2214..813e0d5503b4b0fd78c4d814fc38e678675a0e55 100644 (file)
@@ -55,6 +55,8 @@
  */
 #define STACK_USE_GUIDELINE 30
 
+#undef SUCCESS
+#undef ERROR
 #define SUCCESS 0
 #define ERROR -1