From dff5b3446c302d98e99bf4307527ee5d6d6445a6 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Sun, 10 Apr 2011 23:12:25 -0400 Subject: [PATCH] Fix uninitialized variable in fun_regreplace --- src/funlist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/funlist.c b/src/funlist.c index 455501b..6101f46 100644 --- a/src/funlist.c +++ b/src/funlist.c @@ -3141,6 +3141,7 @@ FUNCTION(fun_regreplace) int *old_re_offsets; char *old_re_from; + old_re_code = global_eval_context.re_code; old_re_subpatterns = global_eval_context.re_subpatterns; old_re_offsets = global_eval_context.re_offsets; old_re_from = global_eval_context.re_from; -- 2.30.2