Skip to content

"error:" #6

@gbettega

Description

@gbettega

Hello,
my question could be stupid, and due to a lack of knowledge.

In fuction

/----------------------------------------------------------
| Check if an object is contained in a provided list
----------------------------------------------------------
/
static inline tmBool OBJ_IN_LIST(void *obj, tmList *list)
{
tmListNode *cur;
for (cur = list->first; cur != NULL; cur = cur->next)
if ( cur->value == obj )
return TRUE;

return FALSE;
error:
return -1;
}

what is

"error: "

at the end of the function?
Thanks
Giovanni

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions