Skip to content

Commit

Permalink
Silence a warning in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
alexp-sssup committed May 24, 2011
1 parent 77d8d81 commit ce1df12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/backends/graphics.cpp
Expand Up @@ -560,7 +560,10 @@ cairo_pattern_t* CairoRenderer::FILLSTYLEToCairo(const FILLSTYLE& style, double
cairo_surface_destroy(surface);

cairo_matrix_t mat = MATRIXToCairo(style.Matrix);
cairo_status_t st = cairo_matrix_invert(&mat);
#ifndef NDEBUG
cairo_status_t st =
#endif
cairo_matrix_invert(&mat);
assert(st == CAIRO_STATUS_SUCCESS);
mat.x0 /= scaleCorrection;
mat.y0 /= scaleCorrection;
Expand Down

0 comments on commit ce1df12

Please sign in to comment.