Very minor warning fix for gcc4 in these 2 files (unitialized array)
This commit is contained in:
@@ -1401,7 +1401,8 @@ void snap_to_center()
|
||||
/*calculate the snaplocation (centerpoint) */
|
||||
count= 0;
|
||||
INIT_MINMAX(min, max);
|
||||
centroid[0]= centroid[1]= centroid[2]= 0.0;
|
||||
centroid[0]= centroid[1]= centroid[2]= 0.0f;
|
||||
snaploc[0]= snaploc[1]= snaploc[2]= 0.0f;
|
||||
|
||||
if(G.obedit) {
|
||||
tottrans= 0;
|
||||
|
||||
@@ -850,7 +850,7 @@ void transform_actionchannel_keys(int mode, int dummy)
|
||||
bActionChannel *chan;
|
||||
float deltax, startx;
|
||||
float minx, maxx, cenf[2];
|
||||
float sval[2], cval[2], lastcval[2];
|
||||
float sval[2], cval[2], lastcval[2]={0,0};
|
||||
float fac=0.0f;
|
||||
int loop=1;
|
||||
int tvtot=0;
|
||||
@@ -1097,7 +1097,7 @@ void transform_meshchannel_keys(char mode, Key *key)
|
||||
TransVert *tv;
|
||||
int /*sel=0,*/ i;
|
||||
short mvals[2], mvalc[2], cent[2];
|
||||
float sval[2], cval[2], lastcval[2];
|
||||
float sval[2], cval[2], lastcval[2]={0,0};
|
||||
short cancel=0;
|
||||
float fac=0.0F;
|
||||
int loop=1;
|
||||
|
||||
Reference in New Issue
Block a user