Some fixex on list pagination remaining attribute

This commit is contained in:
Olof hagsand 2024-08-20 10:06:34 +02:00
parent 7cbc0a8dc3
commit 7cc94b3ac5
3 changed files with 13 additions and 5 deletions

View file

@ -641,6 +641,11 @@ get_list_pagination(clixon_handle h,
int i;
int j;
int ret;
#ifdef LIST_PAGINATION_REMAINING
cxobj *xcache;
uint32_t total;
uint32_t remaining = 0;
#endif
if (cbret == NULL){
clixon_err(OE_PLUGIN, EINVAL, "cbret is NULL");