all: fix GCC uninitialized variables warnings
This commit is contained in:
@@ -1382,6 +1382,7 @@ gcal_manager_get_event_reminders (GcalManager *manager,
|
|||||||
|
|
||||||
type = NULL;
|
type = NULL;
|
||||||
time = NULL;
|
time = NULL;
|
||||||
|
number = 0;
|
||||||
alarm = e_cal_component_get_alarm (event, l->data);
|
alarm = e_cal_component_get_alarm (event, l->data);
|
||||||
|
|
||||||
e_cal_component_alarm_get_action (alarm, &action);
|
e_cal_component_alarm_get_action (alarm, &action);
|
||||||
|
|||||||
@@ -707,7 +707,7 @@ gcal_week_view_scroll_event (GtkWidget *widget,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GtkWidget *range;
|
GtkWidget *range = NULL;
|
||||||
|
|
||||||
if (event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_DOWN)
|
if (event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_DOWN)
|
||||||
range = priv->vscrollbar;
|
range = priv->vscrollbar;
|
||||||
|
|||||||
Reference in New Issue
Block a user