remove some warning for unused struct members

This commit is contained in:
Campbell Barton 2011-06-11 17:05:20 +00:00
parent 90d8fcb522
commit 9095612b85
3 changed files with 4 additions and 2 deletions

@ -3967,6 +3967,7 @@ short sharesFace(EditMesh *em, EditEdge* e1, EditEdge* e2)
return 0; return 0;
} }
#if 0
typedef struct SlideUv { typedef struct SlideUv {
float origuv[2]; float origuv[2];
@ -3980,7 +3981,6 @@ typedef struct SlideVert {
EditVert origvert; EditVert origvert;
} SlideVert; } SlideVert;
#if 0
int EdgeSlide(EditMesh *em, wmOperator *op, short immediate, float imperc) int EdgeSlide(EditMesh *em, wmOperator *op, short immediate, float imperc)
{ {
return 0; return 0;

@ -83,11 +83,13 @@ typedef struct ConsoleDrawContext {
int console_width; int console_width;
int winx; int winx;
int ymin, ymax; int ymin, ymax;
#if 0 /* used by textview, may use later */
int *xy; // [2] int *xy; // [2]
int *sel; // [2] int *sel; // [2]
int *pos_pick; // bottom of view == 0, top of file == combine chars, end of line is lower then start. int *pos_pick; // bottom of view == 0, top of file == combine chars, end of line is lower then start.
int *mval; // [2] int *mval; // [2]
int draw; int draw;
#endif
} ConsoleDrawContext; } ConsoleDrawContext;
void console_scrollback_prompt_begin(struct SpaceConsole *sc, ConsoleLine *cl_dummy) void console_scrollback_prompt_begin(struct SpaceConsole *sc, ConsoleLine *cl_dummy)

@ -124,7 +124,7 @@ typedef struct TransSeq {
int startstill, endstill; int startstill, endstill;
int startdisp, enddisp; int startdisp, enddisp;
int startofs, endofs; int startofs, endofs;
int final_left, final_right; /* int final_left, final_right; */ /* UNUSED */
int len; int len;
} TransSeq; } TransSeq;