summaryrefslogtreecommitdiffstats
path: root/Modules/regexpr.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-12-05 23:43:35 (GMT)
committerGuido van Rossum <guido@python.org>1996-12-05 23:43:35 (GMT)
commita376cc5cc86c62f912886c4002ed1a9b3b213b88 (patch)
treed505b439cc8f6aac1ba75374b6652857273274c0 /Modules/regexpr.c
parent60fca2c90fe4d00715f4ae28d68560e67955ab9b (diff)
downloadcpython-a376cc5cc86c62f912886c4002ed1a9b3b213b88.zip
cpython-a376cc5cc86c62f912886c4002ed1a9b3b213b88.tar.gz
cpython-a376cc5cc86c62f912886c4002ed1a9b3b213b88.tar.bz2
Keep gcc -Wall happy.
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;