Skip to content

Commit eb62f8d

Browse files
tonycozmauke
authored andcommitted
regcomp_internal.h: removed unused PREPARE_TO_DIE
We are now always prepared for death.
1 parent e05687f commit eb62f8d

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

regcomp_internal.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -870,21 +870,6 @@ static const scan_data_t zero_scan_data = {
870870
* past a nul byte. */
871871
#define SKIP_IF_CHAR(s, e) (!*(s) ? 0 : UTF ? UTF8_SAFE_SKIP(s, e) : 1)
872872

873-
/* Set up to clean up after our imminent demise */
874-
#define PREPARE_TO_DIE \
875-
STMT_START { \
876-
if (RExC_rx_sv) \
877-
SAVEFREESV(RExC_rx_sv); \
878-
if (RExC_open_parens) \
879-
SAVEFREEPV(RExC_open_parens); \
880-
if (RExC_close_parens) \
881-
SAVEFREEPV(RExC_close_parens); \
882-
if (RExC_logical_to_parno) \
883-
SAVEFREEPV(RExC_logical_to_parno); \
884-
if (RExC_parno_to_logical) \
885-
SAVEFREEPV(RExC_parno_to_logical); \
886-
} STMT_END
887-
888873
/*
889874
* Calls SAVEDESTRUCTOR_X if needed, then calls Perl_croak with the given
890875
* arg. Show regex, up to a maximum length. If it's too long, chop and add

0 commit comments

Comments
 (0)