diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
commit | 699030ceb698f827fe582bf03a78a44ffc283629 (patch) | |
tree | b9bd3afdc7d131f66460fad247135c3ed155a2ff /source/blender/render | |
parent | 626f73718631a641fe2d9fe6e2786fc48a341ff7 (diff) |
use const for readonly strings and set some functions to static
Diffstat (limited to 'source/blender/render')
-rw-r--r-- | source/blender/render/intern/source/pipeline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c index bbe32765443..64b36c1fd12 100644 --- a/source/blender/render/intern/source/pipeline.c +++ b/source/blender/render/intern/source/pipeline.c @@ -405,7 +405,7 @@ static const char *get_pass_name(int passtype, int channel) return "Unknown"; } -static int passtype_from_name(char *str) +static int passtype_from_name(const char *str) { if(strcmp(str, "Combined")==0) |