aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2021-09-17 19:42:25 +0200
committerTristan Gingold <tgingold@free.fr>2021-09-17 19:42:25 +0200
commitc0c819c996ef508ad19f53c66367491cb1a8e2c3 (patch)
treec671aee0821d4b1ddfbaafecbb5ba4e38fc9cd59
parent4c42ec60b41ee24094d42dc6d05f22f9070327e6 (diff)
downloadghdl-c0c819c996ef508ad19f53c66367491cb1a8e2c3.tar.gz
ghdl-c0c819c996ef508ad19f53c66367491cb1a8e2c3.tar.bz2
ghdl-c0c819c996ef508ad19f53c66367491cb1a8e2c3.zip
vhdl-evaluation.adb: fix warning
-rw-r--r--src/vhdl/vhdl-evaluation.adb3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vhdl/vhdl-evaluation.adb b/src/vhdl/vhdl-evaluation.adb
index 24423b5bd..1b74d6987 100644
--- a/src/vhdl/vhdl-evaluation.adb
+++ b/src/vhdl/vhdl-evaluation.adb
@@ -2178,7 +2178,6 @@ package body Vhdl.Evaluation is
function Eval_Integer_Image (Val : Int64; Orig : Iir) return Iir
is
- use Str_Table;
Img : String (1 .. 24); -- 23 is enough, 24 is rounded.
L : Natural;
V : Int64;
@@ -2200,8 +2199,6 @@ package body Vhdl.Evaluation is
function Eval_Floating_Image (Val : Fp64; Orig : Iir) return Iir
is
- use Str_Table;
-
-- Sign (1) + digit (1) + dot (1) + digits (15) + 'e' (1) + sign (1)
-- + exp_digits (4) -> 24.
Str : String (1 .. 25);