Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.

Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
This commit is contained in:
2010-12-03 17:05:21 +00:00
parent 7c86a1a95c
commit 263830f000
157 changed files with 959 additions and 952 deletions

View File

@@ -969,7 +969,7 @@ static void *add_obdata_from_type(int type)
}
}
static char *get_obdata_defname(int type)
static const char *get_obdata_defname(int type)
{
switch (type) {
case OB_MESH: return "Mesh";