Skip to content

Commit f0e4150

Browse files
committed
erts: Remove dead code in erl_bif_re.c
1 parent d89d3e2 commit f0e4150

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

erts/emulator/beam/erl_bif_re.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,6 @@ build_compile_result(Process *p, pcre2_code *result, byte unicode, bool with_ok)
583583
{
584584
Eterm *hp;
585585
Eterm ret;
586-
size_t pattern_size;
587586
uint32_t capture_count;
588587
uint32_t newline;
589588
int use_crlf;
@@ -593,7 +592,6 @@ build_compile_result(Process *p, pcre2_code *result, byte unicode, bool with_ok)
593592

594593
ASSERT(result);
595594

596-
pcre2_pattern_info(result, PCRE2_INFO_SIZE, &pattern_size);
597595
pcre2_pattern_info(result, PCRE2_INFO_CAPTURECOUNT, &capture_count);
598596
pcre2_pattern_info(result, PCRE2_INFO_NEWLINE, &newline);
599597
use_crlf = (newline == PCRE2_NEWLINE_ANY ||

0 commit comments

Comments
 (0)