Cleanup: unused defines

This commit is contained in:
Campbell Barton 2021-08-17 17:45:57 +10:00
parent 7304541f66
commit 6028ac44a1
4 changed files with 4 additions and 19 deletions

View File

@ -187,17 +187,6 @@ static void testbuffer_list_state_from_data__stride_expand(ListBase *lb,
((void)0)
/* test in both directions */
#define TESTBUFFER_STRINGS_EX(bs, ...) \
{ \
ListBase lb; \
TESTBUFFER_STRINGS_CREATE(&lb, __VA_ARGS__); \
\
testbuffer_run_tests(bs, &lb); \
\
testbuffer_list_free(&lb); \
} \
((void)0)
#define TESTBUFFER_STRINGS(stride, chunk_count, ...) \
{ \
ListBase lb; \

View File

@ -327,7 +327,6 @@ void bmo_weld_verts_exec(BMesh *bm, BMOperator *op)
}
#define VERT_KEEP 8
#define VERT_IN 32
#define EDGE_MARK 1

View File

@ -467,8 +467,6 @@ typedef struct ObHook {
/* used many places, should be specialized. */
#define SELECT 1
#define OBJECT_ACTIVE_MODIFIER_NONE -1
/* type */
enum {
OB_EMPTY = 0,

View File

@ -328,11 +328,10 @@ typedef struct wmNotifier {
#define ND_LAYOUTDELETE (2 << 16)
#define ND_ANIMPLAY (4 << 16)
#define ND_GPENCIL (5 << 16)
#define ND_EDITOR_CHANGED (6 << 16) /* Sent to new editors after switching to them. */
#define ND_LAYOUTSET (7 << 16)
#define ND_SKETCH (8 << 16)
#define ND_WORKSPACE_SET (9 << 16)
#define ND_WORKSPACE_DELETE (10 << 16)
#define ND_LAYOUTSET (6 << 16)
#define ND_SKETCH (7 << 16)
#define ND_WORKSPACE_SET (8 << 16)
#define ND_WORKSPACE_DELETE (9 << 16)
/* NC_SCENE Scene */
#define ND_SCENEBROWSE (1 << 16)