aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog4
-rw-r--r--gcc/objc/objc-act.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 73a41b6..dfd8f38 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,7 @@
+2014-06-24 Trevor Saunders <tsaunders@mozilla.com>
+
+ * objc-act.c: Adjust.
+
2014-05-17 Trevor Saunders <tsaunders@mozilla.com>
* objc-act.c (objc_build_string_object): Adjust.
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 03b4150..c379a51 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -3940,8 +3940,7 @@ objc_detect_field_duplicates (bool check_superclasses_only)
{
/* First, build the hashtable by putting all the instance
variables of superclasses in it. */
- hash_table <decl_name_hash> htab;
- htab.create (37);
+ hash_table<decl_name_hash> htab (37);
tree interface;
for (interface = lookup_interface (CLASS_SUPER_NAME
(objc_interface_context));
@@ -4018,7 +4017,6 @@ objc_detect_field_duplicates (bool check_superclasses_only)
}
}
}
- htab.dispose ();
return true;
}
}