diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-12-13 13:55:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 13:55:10 (GMT) |
commit | 985a71032bf055240e61259285a0b4925c925383 (patch) | |
tree | 2441a35a45a1235da8ee3126fc203b92c4203ce5 | |
parent | d3ea82aaf940167482df1e08d6482de8f2dd8526 (diff) | |
download | cpython-985a71032bf055240e61259285a0b4925c925383.zip cpython-985a71032bf055240e61259285a0b4925c925383.tar.gz cpython-985a71032bf055240e61259285a0b4925c925383.tar.bz2 |
gh-99955: undef ERROR and SUCCESS before redefining (fixes sanitizer warning) (#100215)
-rw-r--r-- | Python/compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c index 17b164a..813e0d5 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -55,6 +55,8 @@ */ #define STACK_USE_GUIDELINE 30 +#undef SUCCESS +#undef ERROR #define SUCCESS 0 #define ERROR -1 |