Skip to content

Commit 57fc0d8

Browse files
author
jjceresa
committed
remove useless variable in ipatch_dls2_class_init()
1 parent d40f261 commit 57fc0d8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libinstpatch/IpatchDLS2.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ static gpointer parent_class = NULL;
7474
static GType dls2_child_types[3] = { 0 };
7575
static GType dls2_virt_types[4] = { 0 };
7676

77-
/* for chaining to original file-name property */
78-
static IpatchItemClass *base_item_class;
79-
8077

8178

8279
/* SoundFont item type creation function */
@@ -111,9 +108,6 @@ ipatch_dls2_class_init(IpatchDLS2Class *klass)
111108
IpatchContainerClass *container_class = IPATCH_CONTAINER_CLASS(klass);
112109
IpatchBaseClass *base_class = IPATCH_BASE_CLASS(klass);
113110

114-
/* save original base class for chaining file-name property */
115-
base_item_class = IPATCH_ITEM_CLASS(g_type_class_ref(IPATCH_TYPE_BASE));
116-
117111
parent_class = g_type_class_peek_parent(klass);
118112

119113
obj_class->finalize = ipatch_dls2_finalize;

0 commit comments

Comments
 (0)