summaryrefslogtreecommitdiffstats
path: root/Modules/regexpr.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/regexpr.c')
-rw-r--r--Modules/regexpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/regexpr.c b/Modules/regexpr.c
index 4f497f1..9f03e7c 100644
--- a/Modules/regexpr.c
+++ b/Modules/regexpr.c
@@ -281,10 +281,10 @@ int size;
regexp_t bufp;
{
int a, pos, op, current_level, level, opcode;
- int pattern_offset, alloc;
+ int pattern_offset = 0, alloc;
int starts[NUM_LEVELS * MAX_NESTING], starts_base;
int future_jumps[MAX_NESTING], num_jumps;
- unsigned char ch;
+ unsigned char ch = '\0';
char *pattern, *translate;
int next_register, paren_depth, num_open_registers, open_registers[RE_NREGS];
int beginning_context;