diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-16 20:31:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-16 20:31:04 +0300 |
commit | aed7eaf0d9171c4bfa7814e141afad773cb31441 (patch) | |
tree | dfe4af7d0ff2986a0768244f75a16888d1660c24 /source/blender | |
parent | 6b12fa8fed341b7c14dbfb98c1895b7093cab0b7 (diff) |
sphinx doc gen: multiple examples possible and include the scripts docstring inline in sphinx.
also tag unused vars
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/armature/poselib.c | 4 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_particlesystem.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c index 7e27cfbe0e1..bfe33299043 100644 --- a/source/blender/editors/armature/poselib.c +++ b/source/blender/editors/armature/poselib.c @@ -189,7 +189,7 @@ static bAction *poselib_validate (Object *ob) /* ************************************************************* */ /* Pose Lib UI Operators */ -static int poselib_new_exec (bContext *C, wmOperator *op) +static int poselib_new_exec (bContext *C, wmOperator *UNUSED(op)) { Object *ob = get_poselib_object(C); @@ -223,7 +223,7 @@ void POSELIB_OT_new (wmOperatorType *ot) /* ------------------------------------------------ */ -static int poselib_unlink_exec (bContext *C, wmOperator *op) +static int poselib_unlink_exec (bContext *C, wmOperator *UNUSED(op)) { Object *ob = get_poselib_object(C); diff --git a/source/blender/modifiers/intern/MOD_particlesystem.c b/source/blender/modifiers/intern/MOD_particlesystem.c index 246a1b5391e..2f3bc0c53f4 100644 --- a/source/blender/modifiers/intern/MOD_particlesystem.c +++ b/source/blender/modifiers/intern/MOD_particlesystem.c @@ -80,11 +80,10 @@ static void copyData(ModifierData *md, ModifierData *target) tpsmd->psys = psmd->psys; } -static CustomDataMask requiredDataMask(Object *ob, ModifierData *md) +static CustomDataMask requiredDataMask(Object *UNUSED(ob), ModifierData *md) { ParticleSystemModifierData *psmd= (ParticleSystemModifierData*) md; CustomDataMask dataMask = 0; - Material *ma; MTex *mtex; int i; |