From: Ari Johnson Date: Mon, 11 Apr 2011 03:12:25 +0000 (-0400) Subject: Fix uninitialized variable in fun_regreplace X-Git-Tag: 0.73p2~1 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=dff5b3446c302d98e99bf4307527ee5d6d6445a6;p=cobramush.git Fix uninitialized variable in fun_regreplace --- 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;