Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, modifiers, nodes)
This commit is contained in:
@@ -52,7 +52,7 @@ static void colorfn(float *out, TexParams *p, bNode *node, bNodeStack **UNUSED(i
|
||||
float xoff, yoff;
|
||||
int px, py;
|
||||
|
||||
float *result;
|
||||
const float *result;
|
||||
|
||||
xsize = ibuf->x / 2;
|
||||
ysize = ibuf->y / 2;
|
||||
|
||||
@@ -84,7 +84,7 @@ static void unique_name(bNode *node)
|
||||
int new_len = 0;
|
||||
int suffix;
|
||||
bNode *i;
|
||||
char *name = tno->name;
|
||||
const char *name = tno->name;
|
||||
|
||||
new_name[0] = '\0';
|
||||
i = node;
|
||||
|
||||
Reference in New Issue
Block a user