gdb/ChangeLog:
* ada-lang.c (advance_wild_match): Delete local variable t2.
Adjust code accordingly. Minor reformatting.
+2010-10-06 Joel Brobecker <brobecker@adacore.com>
+
+ Fix ARI warnings in advance_wild_match.
+ * ada-lang.c (advance_wild_match): Delete local variable t2.
+ Adjust code accordingly. Minor reformatting.
+
2010-10-06 Ken Werner <ken.werner@de.ibm.com>
* gdbtypes.h (struct main_type): Remove flag_nottext.
while (1)
{
- int t0, t1, t2;
+ int t0, t1;
t0 = *name;
if (t0 == '_')
else
name += 1;
}
- else if (t1 == '_' &&
- (((t2 = name[2]) >= 'a' && t2 <= 'z') || t2 == target0))
+ else if (t1 == '_' && ((name[2] >= 'a' && name[2] <= 'z')
+ || name[2] == target0))
{
name += 2;
break;