remove assignments which are unused.
[blender.git] / source / blender / blenkernel / intern / displist.c
index 612d0d4fe38d703ca7b359b53f23ab71bf9aff74..8c32733dd66d8a9daf47e1b95c288721dff4f084 100644 (file)
@@ -625,7 +625,6 @@ void shadeDispList(Scene *scene, Base *base)
        Object *ob= base->object;
        DispList *dl, *dlob;
        Material *ma = NULL;
-       Curve *cu;
        Render *re;
        float imat[3][3], mat[4][4], vec[3];
        float *fp, *nor, n1[3];
@@ -659,7 +658,6 @@ void shadeDispList(Scene *scene, Base *base)
                if (ELEM3(ob->type, OB_CURVE, OB_SURF, OB_FONT)) {
                
                        /* now we need the normals */
-                       cu= ob->data;
                        dl= ob->disp.first;
                        
                        while(dl) {