[main] Fix unused-variable warnings
This commit is contained in:
parent
9d5730b958
commit
b179d357a9
20
src/main.cc
20
src/main.cc
|
@ -136,8 +136,8 @@ struct draw_data_t
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
move_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
move_to (hb_draw_funcs_t *, draw_data_t *draw_data,
|
||||||
hb_draw_state_t *st,
|
hb_draw_state_t *,
|
||||||
float to_x, float to_y,
|
float to_x, float to_y,
|
||||||
void *)
|
void *)
|
||||||
{
|
{
|
||||||
|
@ -145,8 +145,8 @@ move_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
line_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
line_to (hb_draw_funcs_t *, draw_data_t *draw_data,
|
||||||
hb_draw_state_t *st,
|
hb_draw_state_t *,
|
||||||
float to_x, float to_y,
|
float to_x, float to_y,
|
||||||
void *)
|
void *)
|
||||||
{
|
{
|
||||||
|
@ -154,8 +154,8 @@ line_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
quadratic_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
quadratic_to (hb_draw_funcs_t *, draw_data_t *draw_data,
|
||||||
hb_draw_state_t *st,
|
hb_draw_state_t *,
|
||||||
float control_x, float control_y,
|
float control_x, float control_y,
|
||||||
float to_x, float to_y,
|
float to_x, float to_y,
|
||||||
void *)
|
void *)
|
||||||
|
@ -165,8 +165,8 @@ quadratic_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
cubic_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
cubic_to (hb_draw_funcs_t *, draw_data_t *draw_data,
|
||||||
hb_draw_state_t *st,
|
hb_draw_state_t *,
|
||||||
float control1_x, float control1_y,
|
float control1_x, float control1_y,
|
||||||
float control2_x, float control2_y,
|
float control2_x, float control2_y,
|
||||||
float to_x, float to_y,
|
float to_x, float to_y,
|
||||||
|
@ -178,8 +178,8 @@ cubic_to (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
close_path (hb_draw_funcs_t *dfuncs, draw_data_t *draw_data,
|
close_path (hb_draw_funcs_t *, draw_data_t *draw_data,
|
||||||
hb_draw_state_t *st,
|
hb_draw_state_t *,
|
||||||
void *)
|
void *)
|
||||||
{
|
{
|
||||||
fprintf (draw_data->f, "Z");
|
fprintf (draw_data->f, "Z");
|
||||||
|
|
Loading…
Reference in New Issue