summaryrefslogtreecommitdiff
path: root/gcc/ada/a-coormu.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-coormu.adb')
-rw-r--r--gcc/ada/a-coormu.adb9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/a-coormu.adb b/gcc/ada/a-coormu.adb
index 8000c991110..07f42a35261 100644
--- a/gcc/ada/a-coormu.adb
+++ b/gcc/ada/a-coormu.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2004-2006, Free Software Foundation, Inc. --
+-- Copyright (C) 2004-2007, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -983,6 +983,7 @@ package body Ada.Containers.Ordered_Multisets is
procedure Insert (Container : in out Set; New_Item : Element_Type) is
Position : Cursor;
+ pragma Unreferenced (Position);
begin
Insert (Container, New_Item, Position);
end Insert;
@@ -1700,9 +1701,9 @@ package body Ada.Containers.Ordered_Multisets is
------------
function To_Set (New_Item : Element_Type) return Set is
- Tree : Tree_Type;
- Node : Node_Access;
-
+ Tree : Tree_Type;
+ Node : Node_Access;
+ pragma Unreferenced (Node);
begin
Insert_Sans_Hint (Tree, New_Item, Node);
return Set'(Controlled with Tree);