action_event_popup_rsvp_response_cb: Always initialize local variable

Even using it uninitialized would also mean to see a runtime warning,
better to initialize it, at least to avoid compiler warning and unpredictable
behavior in the bad case.
This commit is contained in:
Milan Crha
2021-02-10 15:11:47 +01:00
parent 61b7c1916f
commit 49f7d75ba4

View File

@ -794,7 +794,7 @@ action_event_popup_rsvp_response_cb (GtkAction *action,
ECalClient *client;
ECalComponent *comp;
ECalModel *model;
ICalParameterPartstat partstat;
ICalParameterPartstat partstat = I_CAL_PARTSTAT_NONE;
ICalComponent *clone;
GList *selected;
const gchar *action_name;