mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 11:08:34 +08:00
remove warnings in slist
This commit is contained in:
parent
f0fc6c230e
commit
1a0f43010a
@ -75,7 +75,7 @@ void* slist_find(slist_t* slist, void* ctx) {
|
||||
ret_t slist_remove(slist_t* slist, void* ctx) {
|
||||
slist_node_t* iter = NULL;
|
||||
slist_node_t* prev = NULL;
|
||||
return_value_if_fail(slist != NULL && slist->first != NULL, RET_BAD_PARAMS);
|
||||
return_value_if_fail(slist != NULL, RET_BAD_PARAMS);
|
||||
|
||||
iter = slist->first;
|
||||
prev = slist->first;
|
||||
|
Loading…
Reference in New Issue
Block a user