diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 20:05:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 20:05:21 +0300 |
commit | 263830f0004481cd4921f03f4242d7c80794b08d (patch) | |
tree | 30b512a06df2e619681ecacf97faee69e46913f8 /source/blender/editors/curve/editcurve.c | |
parent | 7c86a1a95cbc643fdbbf8c28f0422face8a15a19 (diff) |
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.
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index cc90ab3c136..04f0397e7f2 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -5696,7 +5696,7 @@ int join_curve_exec(bContext *C, wmOperator *UNUSED(op)) /************ add primitive, used by object/ module ****************/ -static char *get_curve_defname(int type) +static const char *get_curve_defname(int type) { int stype= type & CU_PRIMITIVE; @@ -5720,7 +5720,7 @@ static char *get_curve_defname(int type) } } -static char *get_surf_defname(int type) +static const char *get_surf_defname(int type) { int stype= type & CU_PRIMITIVE; |