Skip to content

Commit

Permalink
Fix minor issues causing compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skordal committed Aug 17, 2020
1 parent d132331 commit 4ec4837
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/regex-matchers.adb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ package body Regex.Matchers is
end loop;

if Current_State.Accepting then
Match_Id := Current_State.Acceptance_id;
Match_Id := Current_State.Acceptance_Id;
end if;

return Current_State.Accepting;
Expand Down
1 change: 0 additions & 1 deletion src/regex-regular_expressions.ads
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ with Regex.Syntax_Trees;
with Regex.State_Machines;

private with Ada.Finalization;
private with Ada.Text_IO;

package Regex.Regular_Expressions is

Expand Down
2 changes: 0 additions & 2 deletions tests/regex_test_cases.adb
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,6 @@ package body Regex_Test_Cases is
Left_Child => Clone_Tree (First_Expression.Get_Syntax_Tree, Id_Counter),
Right_Child => Clone_Tree (Second_Expression.Get_Syntax_Tree, Id_Counter));
Test_Expr : constant Regular_Expression := Create (Combined_Tree);

Match_Id : Natural;
begin
Free_Recursively (Combined_Tree);

Expand Down

0 comments on commit 4ec4837

Please sign in to comment.