[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:
Jeff Muizelaar 2009-03-03 12:20:47 -05:00
parent a8158d443e
commit addeb32c75

View file

@ -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