mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: compiler warnings
This commit is contained in:
parent
52a475287d
commit
a450bf330c
2 changed files with 7 additions and 4 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
/* Wave */
|
||||
|
||||
float wave(point p,
|
||||
float wave(point p_input,
|
||||
string type,
|
||||
string bands_direction,
|
||||
string rings_direction,
|
||||
|
|
@ -30,7 +30,7 @@ float wave(point p,
|
|||
float phase)
|
||||
{
|
||||
/* Prevent precision issues on unit coordinates. */
|
||||
p = (p + 0.000001) * 0.999999;
|
||||
point p = (p_input + 0.000001) * 0.999999;
|
||||
|
||||
float n = 0.0;
|
||||
|
||||
|
|
|
|||
|
|
@ -688,8 +688,11 @@ void rna_Object_me_eval_info(
|
|||
}
|
||||
}
|
||||
# else
|
||||
void rna_Object_me_eval_info(
|
||||
struct Object *ob, bContext *C, int type, PointerRNA *rnaptr_depsgraph, char *result)
|
||||
void rna_Object_me_eval_info(struct Object *UNUSED(ob),
|
||||
bContext *UNUSED(C),
|
||||
int UNUSED(type),
|
||||
PointerRNA *UNUSED(rnaptr_depsgraph),
|
||||
char *result)
|
||||
{
|
||||
result[0] = '\0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue