Cleanup: quiet missing-declarations & unused variable warnings

This commit is contained in:
Campbell Barton
2024-02-06 22:25:36 +11:00
parent a433adda8e
commit 6154e511ab
2 changed files with 2 additions and 2 deletions

View File

@@ -2155,7 +2155,7 @@ static int grease_pencil_separate_exec(bContext *C, wmOperator *op)
return OPERATOR_FINISHED;
}
void GREASE_PENCIL_OT_separate(wmOperatorType *ot)
static void GREASE_PENCIL_OT_separate(wmOperatorType *ot)
{
/* identifiers. */
ot->name = "Separate";

View File

@@ -903,7 +903,7 @@ static void vectorscope_draw_target(
{
float y, u, v;
float tangle = 0.0f, tampli;
float dangle, dampli, dangle2, dampli2;
float dangle, dampli;
char labelstr[2] = {label, '\0'};
rgb_to_yuv(colf[0], colf[1], colf[2], &y, &u, &v, BLI_YUV_ITU_BT709);