aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-10 07:42:46 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-10 07:42:46 +0100
commit947e9b02a14e82093ec995acb3bc51cc93c893bc (patch)
treea8efb7431089f2298b7af822e5b7e5c7927159c0 /src
parent13fbca25179ba68285a00d2527a417ccd93a39f4 (diff)
downloadghdl-947e9b02a14e82093ec995acb3bc51cc93c893bc.tar.gz
ghdl-947e9b02a14e82093ec995acb3bc51cc93c893bc.tar.bz2
ghdl-947e9b02a14e82093ec995acb3bc51cc93c893bc.zip
netlists-cleanup: avoid a warning.
Diffstat (limited to 'src')
-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.