Skip to content

Commit 9c4a981

Browse files
author
jjceresa
committed
remove useless variable in ipatch_sf2_class_init()
1 parent 57fc0d8 commit 9c4a981

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

libinstpatch/IpatchSF2.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ static void ipatch_sf2_foreach_info_GHFunc(gpointer key, gpointer value,
9797
static int ipatch_sf2_info_array_qsort(const void *a, const void *b);
9898

9999
static gpointer parent_class = NULL;
100-
static IpatchItemClass *base_item_class;
101100

102101
static GType sf2_child_types[4] = { 0 };
103102
static GType sf2_virt_types[6] = { 0 };
@@ -135,9 +134,6 @@ ipatch_sf2_class_init(IpatchSF2Class *klass)
135134
IpatchBaseClass *base_class = IPATCH_BASE_CLASS(klass);
136135
GParamSpec **sp = &info_prop_pspecs[0];
137136

138-
/* save original base class for chaining file-name property */
139-
base_item_class = IPATCH_ITEM_CLASS(g_type_class_ref(IPATCH_TYPE_BASE));
140-
141137
parent_class = g_type_class_ref(IPATCH_TYPE_BASE);
142138

143139
obj_class->finalize = ipatch_sf2_finalize;

0 commit comments

Comments
 (0)