diff options
Diffstat (limited to 'gdb/registry.h')
-rw-r--r-- | gdb/registry.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/registry.h b/gdb/registry.h index 1efa3f9..7f61ba2 100644 --- a/gdb/registry.h +++ b/gdb/registry.h @@ -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; \ |