From: kramm Date: Fri, 2 Jan 2009 19:52:45 +0000 (+0000) Subject: kill temporary variable of 'dup2' workaround X-Git-Tag: release-0-9-0~450 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=c159e3f70b282f0de056aeddc8797edf727843bc;p=swftools.git kill temporary variable of 'dup2' workaround --- diff --git a/lib/as3/parser.y b/lib/as3/parser.y index 3cdf1fe..a1edea6 100644 --- a/lib/as3/parser.y +++ b/lib/as3/parser.y @@ -1147,6 +1147,8 @@ static code_t* toreadwrite(code_t*in, code_t*middlepart, char justassign, char r prefix = abc_getlocal(prefix, temp); prefix = abc_swap(prefix); prefix = abc_getlocal(prefix, temp); + if(!use_temp_var); + prefix = abc_kill(prefix, temp); } use_temp_var = 1; } else {