summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index 53e84f8076..c0a37b265b 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -10656,7 +10656,8 @@ tryagain:
}
case 'x':
{
- UV result;
+ UV result = UV_MAX; /* initialize to erroneous
+ value */
const char* error_msg;
bool valid = grok_bslash_x(&p,