Skip to content

Commit

Permalink
comment out the function to avoid warnings on it being unused
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Sep 26, 2023
1 parent 2234e0a commit 5ff173a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Python/flowgraph.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ _PyCfgBuilder_Addop(cfg_builder *g, int opcode, int oparg, location loc)
#ifndef NDEBUG
static int remove_redundant_nops(basicblock *bb);

/*
static bool
no_redundant_nops(cfg_builder *g) {
for (basicblock *b = g->g_entryblock; b != NULL; b = b->b_next) {
Expand All @@ -375,6 +376,7 @@ no_redundant_nops(cfg_builder *g) {
}
return true;
}
*/

static bool
no_empty_basic_blocks(cfg_builder *g) {
Expand Down

0 comments on commit 5ff173a

Please sign in to comment.