Remove some unused variables
[deliverable/binutils-gdb.git] / gdb / registry.h
index 1efa3f969006265c2b655146350fe164cae0c4f6..7f61ba2af7a0d4439747efeb76f2fe2d12d66ef2 100644 (file)
@@ -158,8 +158,6 @@ const struct TAG ## _data *                                         \
 register_ ## TAG ## _data_with_cleanup (void (*save) (struct TAG *, void *), \
                                        void (*free) (struct TAG *, void *)) \
 {                                                                      \
-  struct registry_data_registration **curr;                            \
-                                                                       \
   return (struct TAG ## _data *)                                       \
     register_data_with_cleanup (&TAG ## _data_registry,                        \
                                (registry_data_callback) save,          \
@@ -186,8 +184,6 @@ TAG ## registry_callback_adaptor (registry_data_callback func,              \
                                  void *data)                           \
 {                                                                      \
   struct TAG *tagged_container = (struct TAG *) container;             \
-  struct registry_fields *rdata                                                \
-    = &ACCESS (tagged_container)->registry_data;                       \
                                                                        \
   registry_ ## TAG ## _callback tagged_func                            \
     = (registry_ ## TAG ## _callback) func;                            \
This page took 0.025895 seconds and 4 git commands to generate.