fix stm3F103 warnings

This commit is contained in:
lixianjing 2019-07-11 15:46:34 +08:00
parent 1ee873e720
commit e6905f6e82

View File

@ -1,4 +1,4 @@
/**
/**
* File: hscrollable.c
* Author: AWTK Develop Team
* Brief: hscrollable
@ -77,6 +77,7 @@ static ret_t hscrollable_on_pointer_move(hscrollable_t* hscrollable, pointer_eve
return RET_OK;
}
#ifndef WITHOUT_WIDGET_ANIMATOR
static ret_t hscrollable_on_scroll_done(void* ctx, event_t* e) {
hscrollable_t* hscrollable = (hscrollable_t*)(ctx);
return_value_if_fail(hscrollable != NULL, RET_BAD_PARAMS);
@ -86,6 +87,7 @@ static ret_t hscrollable_on_scroll_done(void* ctx, event_t* e) {
return RET_REMOVE;
}
#endif/*WITHOUT_WIDGET_ANIMATOR*/
static ret_t hscrollable_fix_end_offset_default(hscrollable_t* hscrollable) {
int32_t xoffset_end = 0;