Skip to content

Commit 8f0ac8d

Browse files
author
jjceresa
committed
remove useless variable in ipatch_sli_class_init()
1 parent 9c4a981 commit 8f0ac8d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

libinstpatch/IpatchSLI.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,6 @@ static gpointer parent_class = NULL;
6767
static GType sli_child_types[3] = { 0 };
6868
static GType sli_virt_types[3] = { 0 };
6969

70-
/* for chaining to original file-name property */
71-
static IpatchItemClass *base_item_class;
72-
7370

7471
/* Spectralis item type creation function */
7572
GType
@@ -102,9 +99,6 @@ ipatch_sli_class_init(IpatchSLIClass *klass)
10299
IpatchItemClass *item_class = IPATCH_ITEM_CLASS(klass);
103100
IpatchContainerClass *container_class = IPATCH_CONTAINER_CLASS(klass);
104101

105-
/* save original base class for chaining file-name property */
106-
base_item_class = IPATCH_ITEM_CLASS(g_type_class_ref(IPATCH_TYPE_BASE));
107-
108102
parent_class = g_type_class_peek_parent(klass);
109103

110104
obj_class->get_property = ipatch_sli_get_property;

0 commit comments

Comments
 (0)