{
struct tm *selected_time = va_arg(*list, struct tm *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = EINA_FALSE;
+ if (ret) *ret = EINA_FALSE;
Elm_Calendar_Smart_Data *sd = _pd;
EINA_SAFETY_ON_NULL_RETURN(selected_time);
return;
*selected_time = sd->selected_time;
- *ret = EINA_TRUE;
+ if (ret) *ret = EINA_TRUE;
}
EAPI void
{
struct tm *displayed_time = va_arg(*list, struct tm *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
+ if (ret) *ret = EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN(displayed_time);
Elm_Calendar_Smart_Data *sd = _pd;
*displayed_time = sd->shown_time;