{
struct tm *currtime = va_arg(*list, struct tm *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = EINA_FALSE;
+ if (ret) *ret = EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN(currtime);
Elm_Datetime_Smart_Data *sd = _pd;
*currtime = sd->curr_time;
- *ret = EINA_TRUE;
+ if (ret) *ret = EINA_TRUE;
}
EAPI Eina_Bool
{
struct tm *mintime = va_arg(*list, struct tm *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = EINA_FALSE;
+ if (ret) *ret = EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN(mintime);
Elm_Datetime_Smart_Data *sd = _pd;
*mintime = sd->min_limit;
- *ret = EINA_TRUE;
+ if (ret) *ret = EINA_TRUE;
}
EAPI Eina_Bool
{
struct tm *maxtime = va_arg(*list, struct tm *);
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
- *ret = EINA_FALSE;
+ if (ret) *ret = EINA_FALSE;
EINA_SAFETY_ON_NULL_RETURN(maxtime);
Elm_Datetime_Smart_Data *sd = _pd;
*maxtime = sd->max_limit;
- *ret = EINA_TRUE;
+ if (ret) *ret = EINA_TRUE;
}
EAPI Eina_Bool