summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eo/eo_base_class.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eo/eo_base_class.c b/src/lib/eo/eo_base_class.c
index 33f826a353..98a6a0d430 100644
--- a/src/lib/eo/eo_base_class.c
+++ b/src/lib/eo/eo_base_class.c
@@ -422,9 +422,9 @@ struct _Eo_Callback_Description
422static void 422static void
423_eo_callback_remove(Private_Data *pd, Eo_Callback_Description *cb) 423_eo_callback_remove(Private_Data *pd, Eo_Callback_Description *cb)
424{ 424{
425 Eo_Callback_Description *itr, *pitr; 425 Eo_Callback_Description *itr, *pitr = NULL;
426 426
427 itr = pitr = pd->callbacks; 427 itr = pd->callbacks;
428 if (pd->callbacks == cb) 428 if (pd->callbacks == cb)
429 pd->callbacks = cb->next; 429 pd->callbacks = cb->next;
430 430