aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth/netlists-cleanup.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth/netlists-cleanup.adb b/src/synth/netlists-cleanup.adb
index 991ca3ad7..230e61e10 100644
--- a/src/synth/netlists-cleanup.adb
+++ b/src/synth/netlists-cleanup.adb
@@ -253,6 +253,7 @@ package body Netlists.Cleanup is
Last_Unused : Instance;
begin
First_Unused := No_Instance;
+ Last_Unused := No_Instance;
Extract_All_Instances (M, Inst);
-- But keep the self-instance.