forked from bartvdbraak/blender
Disabled some unused debugging functions that were causing unnecessary
compile warnings.
This commit is contained in:
parent
7bec4dba41
commit
4745d01c16
@ -1369,6 +1369,7 @@ static void smoothmesh_free(SmoothMesh *mesh)
|
|||||||
MEM_freeN(mesh);
|
MEM_freeN(mesh);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EDGESPLIT_DEBUG_0
|
||||||
static void smoothmesh_print(SmoothMesh *mesh)
|
static void smoothmesh_print(SmoothMesh *mesh)
|
||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
@ -1429,6 +1430,7 @@ static void smoothmesh_print(SmoothMesh *mesh)
|
|||||||
printf("}\n");
|
printf("}\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static SmoothMesh *smoothmesh_from_derivedmesh(DerivedMesh *dm)
|
static SmoothMesh *smoothmesh_from_derivedmesh(DerivedMesh *dm)
|
||||||
{
|
{
|
||||||
@ -1659,6 +1661,7 @@ static void linklist_append_list_unique(LinkNode **target, LinkNode *source)
|
|||||||
linklist_append_unique(target, source->link);
|
linklist_append_unique(target, source->link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* this is no longer used, it should possibly be removed */
|
||||||
/* prepends prepend to list - doesn't copy nodes, just joins the lists */
|
/* prepends prepend to list - doesn't copy nodes, just joins the lists */
|
||||||
static void linklist_prepend_linklist(LinkNode **list, LinkNode *prepend)
|
static void linklist_prepend_linklist(LinkNode **list, LinkNode *prepend)
|
||||||
{
|
{
|
||||||
@ -1670,6 +1673,7 @@ static void linklist_prepend_linklist(LinkNode **list, LinkNode *prepend)
|
|||||||
*list = prepend;
|
*list = prepend;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* empties the linked list
|
/* empties the linked list
|
||||||
* frees pointers with freefunc if freefunc is not NULL
|
* frees pointers with freefunc if freefunc is not NULL
|
||||||
@ -1715,6 +1719,7 @@ static void linklist_remove_list(LinkNode **target, LinkNode *source,
|
|||||||
linklist_remove_first(target, source->link, freefunc);
|
linklist_remove_first(target, source->link, freefunc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef EDGESPLIT_DEBUG_0
|
||||||
static void print_ptr(void *ptr)
|
static void print_ptr(void *ptr)
|
||||||
{
|
{
|
||||||
printf("%p\n", ptr);
|
printf("%p\n", ptr);
|
||||||
@ -1731,6 +1736,7 @@ static void print_face(void *ptr)
|
|||||||
SmoothFace *face = ptr;
|
SmoothFace *face = ptr;
|
||||||
printf(" %4d", face->newIndex);
|
printf(" %4d", face->newIndex);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct ReplaceData {
|
typedef struct ReplaceData {
|
||||||
void *find;
|
void *find;
|
||||||
|
@ -979,6 +979,7 @@ static void modifier_testTexture(char *name, ID **idpp)
|
|||||||
*idpp = 0;
|
*idpp = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* this is currently unused, but could be useful in the future */
|
||||||
static void modifier_testMaterial(char *name, ID **idpp)
|
static void modifier_testMaterial(char *name, ID **idpp)
|
||||||
{
|
{
|
||||||
ID *id;
|
ID *id;
|
||||||
@ -991,6 +992,7 @@ static void modifier_testMaterial(char *name, ID **idpp)
|
|||||||
}
|
}
|
||||||
*idpp = 0;
|
*idpp = 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static void modifier_testImage(char *name, ID **idpp)
|
static void modifier_testImage(char *name, ID **idpp)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user