aboutsummaryrefslogtreecommitdiffstats
path: root/translate/ghdldrv/ghdlmain.adb
diff options
context:
space:
mode:
Diffstat (limited to 'translate/ghdldrv/ghdlmain.adb')
-rw-r--r--translate/ghdldrv/ghdlmain.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/translate/ghdldrv/ghdlmain.adb b/translate/ghdldrv/ghdlmain.adb
index 0f4392926..b77ceca01 100644
--- a/translate/ghdldrv/ghdlmain.adb
+++ b/translate/ghdldrv/ghdlmain.adb
@@ -20,7 +20,6 @@ with Ada.Command_Line;
with Version;
with Flags;
with Bug;
-with Errorout;
package body Ghdlmain is
procedure Init (Cmd : in out Command_Type)
@@ -275,7 +274,7 @@ package body Ghdlmain is
Arg_Index := 2;
while Arg_Index <= Argument_Count loop
declare
- Arg : String := Argument (Arg_Index);
+ Arg : constant String := Argument (Arg_Index);
Res : Option_Res;
begin
if Arg (1) = '-' then