Cleanup: unused var, trailing space

This commit is contained in:
Campbell Barton 2018-06-08 14:55:47 +02:00
parent e36ecb8a66
commit d97df0d0e6
4 changed files with 3 additions and 5 deletions

View File

@ -33,4 +33,4 @@
# define GWN_INLINE static __forceinline
#else
# define GWN_INLINE static inline __attribute__((always_inline)) __attribute__((__unused__))
#endif
#endif

View File

@ -179,7 +179,7 @@ int GWN_batch_vertbuf_add_ex(
return v;
}
}
// we only make it this far if there is no room for another Gwn_VertBuf
#if TRUST_NO_ONE
assert(false);

View File

@ -47,7 +47,7 @@ typedef struct {
GLuint vbo_id;
GLuint vao_id;
GLuint bound_program;
const Gwn_ShaderInterface* shader_interface;
Gwn_AttrBinding attrib_binding;

View File

@ -270,8 +270,6 @@ eRedrawFlag handleSnapping(TransInfo *t, const wmEvent *event)
void applyProject(TransInfo *t)
{
Main *bmain = CTX_data_main(t->context);
/* XXX FLICKER IN OBJECT MODE */
if ((t->tsnap.project) && activeSnap(t) && (t->flag & T_NO_PROJECT) == 0) {
float tvec[3];