Skip to content

Commit

Permalink
fixed compiler warning by removing an unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
WiSo committed Sep 12, 2012
1 parent 25ecf20 commit 7b5e602
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/libass/libass/ass_render.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ static void blend_vector_clip(ASS_Renderer *render_priv,
ASS_Drawing *drawing = render_priv->state.clip_drawing;
BitmapHashKey key;
BitmapHashValue *val;
int error;

if (!drawing)
return;
Expand Down Expand Up @@ -588,7 +587,7 @@ static void blend_vector_clip(ASS_Renderer *render_priv,
render_priv->ftlibrary, outline, 0);
if (clip_bm == NULL) {
ass_msg(render_priv->library, MSGL_WARN,
"Clip vector rasterization failed: %d. Skipping.", error);
"Clip vector rasterization failed. Skipping.");
}

// Add to cache
Expand Down

0 comments on commit 7b5e602

Please sign in to comment.