Code cleanup: use 'const' for arrays (blenloader, gpu, imbuf, makesdna, modifiers, nodes)

This commit is contained in:
2014-04-27 00:24:11 +10:00
parent 88a0fe5f1b
commit 7ca74fc1c0
25 changed files with 46 additions and 46 deletions

View File

@@ -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;

View File

@@ -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;