gh-117680: Fix msvc warning in instruction_sequence.c (#118326)

This commit is contained in:
neonene 2024-04-27 01:20:30 +09:00 committed by GitHub
parent 0f99861332
commit 63add11704
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -20,6 +20,8 @@ typedef _Py_SourceLocation location;
#define INITIAL_INSTR_SEQUENCE_SIZE 100 #define INITIAL_INSTR_SEQUENCE_SIZE 100
#define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10 #define INITIAL_INSTR_SEQUENCE_LABELS_MAP_SIZE 10
#include "clinic/instruction_sequence.c.h"
#undef SUCCESS #undef SUCCESS
#undef ERROR #undef ERROR
#define SUCCESS 0 #define SUCCESS 0
@ -172,8 +174,6 @@ class InstructionSequenceType "_PyInstructionSequence *" "&_PyInstructionSequenc
[clinic start generated code]*/ [clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=589963e07480390f]*/ /*[clinic end generated code: output=da39a3ee5e6b4b0d input=589963e07480390f]*/
#include "clinic/instruction_sequence.c.h"
static _PyInstructionSequence* static _PyInstructionSequence*
inst_seq_create(void) inst_seq_create(void)
{ {