mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-29 15:00:13 +01:00
[pdf] Intialize 'interpolate'
Intialize 'interpolate' to prevent a gcc warning. Do this instead of adding a 'default' case to the switch statement so that we still get warnings if new filter types are added.
This commit is contained in:
parent
a8158d443e
commit
addeb32c75
1 changed files with 1 additions and 1 deletions
|
|
@ -1543,7 +1543,7 @@ _cairo_pdf_surface_emit_image (cairo_pdf_surface_t *surface,
|
|||
int i, x, y;
|
||||
cairo_pdf_resource_t smask = {0}; /* squelch bogus compiler warning */
|
||||
cairo_bool_t need_smask;
|
||||
const char *interpolate;
|
||||
const char *interpolate = "true";
|
||||
|
||||
/* These are the only image formats we currently support, (which
|
||||
* makes things a lot simpler here). This is enforced through
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue