* only walk the node tree if there are indeed captured symbols to convert

This commit is contained in:
Sven/Sarah Barth 2023-12-29 21:52:28 +01:00
parent ab5c5a7e9a
commit 1606d4e28d

View File

@ -1641,7 +1641,8 @@ implementation
{ not required anymore }
capturedsyms.free;
foreachnodestatic(pm_postprocess,tree,@convert_captured_sym,@convertarg);
if convertarg.mappings.count>0 then
foreachnodestatic(pm_postprocess,tree,@convert_captured_sym,@convertarg);
for i:=0 to convertarg.mappings.count-1 do
begin