Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-10-23 20:03:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-23 20:03:31 +0400
commit2d9be2226a7b8ec35f3055743f3d6e381fe78757 (patch)
treed3103047e0822c31cfd06b059317c98a12a3dc6d /source/blender/editors/space_text
parent05b297c52f025b8d2068b742d944ecd92c402256 (diff)
warning fixes.
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index 8d4f3f87f66..af29e575482 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -558,6 +558,8 @@ static int run_script_poll(bContext *C)
static int run_script_exec(bContext *C, wmOperator *op)
{
#ifdef DISABLE_PYTHON
+ (void)C; /* unused */
+
BKE_report(op->reports, RPT_ERROR, "Python disabled in this build");
return OPERATOR_CANCELLED;