X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fcairo.c;h=b786733448ea003382225a2452b575dd10ca8f0e;hb=6bf4567d7fcf5f0fa5805c4de24c13c2a7cfbbc9;hp=da5740464e58c2c5a056d4be36c4c4d815375910;hpb=b05cde73f4291705bba140d6ef9896a11616f3ff;p=pspp diff --git a/src/output/cairo.c b/src/output/cairo.c index da5740464e..b786733448 100644 --- a/src/output/cairo.c +++ b/src/output/cairo.c @@ -386,14 +386,12 @@ xr_create (const char *file_name, enum settings_output_devices device_type, struct string_map *o, enum xr_output_type file_type) { enum { MIN_WIDTH = 3, MIN_LENGTH = 3 }; - struct output_driver *d; struct xr_driver *xr; cairo_surface_t *surface; cairo_status_t status; double width_pt, length_pt; xr = xr_allocate (file_name, device_type, o); - d = &xr->driver; width_pt = (xr->width + xr->left_margin + xr->right_margin) / 1000.0; length_pt = (xr->length + xr->top_margin + xr->bottom_margin) / 1000.0;