summaryrefslogtreecommitdiff
path: root/gcc/ada/a-rbtgbo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/a-rbtgbo.adb')
-rw-r--r--gcc/ada/a-rbtgbo.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/a-rbtgbo.adb b/gcc/ada/a-rbtgbo.adb
index d1c26778128..d6df756e363 100644
--- a/gcc/ada/a-rbtgbo.adb
+++ b/gcc/ada/a-rbtgbo.adb
@@ -637,6 +637,7 @@ package body Ada.Containers.Red_Black_Trees.Generic_Bounded_Operations is
L_Node := Left.First;
R_Node := Right.First;
+ Result := True;
while L_Node /= 0 loop
if not Is_Equal (Left.Nodes (L_Node), Right.Nodes (R_Node)) then
Result := False;