Function defined but not used in C
- by thetna
I have following code:
static __inline__ LIST list_List(POINTER P)
{
return list_Cons(P,list_Nil());
}
After compilation I got following warning:
inlining is unlikely but function size may grow
I removed the inline and changed into the following :
static LIST list_List(POINTER P)
{
return list_Cons(P,list_Nil());
}
Now I get the following warning:
list_List is defined but not used.
Can anybody please suggest me how can remove that warning.