From af13164924fb4c627f201c943c7a18e5dbe39507 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 27 May 2013 14:36:25 +0200 Subject: Strip trailing whitespace. --- draw/draw_device.c | 2 -- fitz/base_geometry.c | 2 +- fitz/dev_svg.c | 1 - fitz/fitz-internal.h | 1 - fitz/res_colorspace.c | 1 - fitz/res_image.c | 1 - fitz/res_shade.c | 1 - fitz/res_text.c | 1 - pdf/pdf_colorspace.c | 1 - pdf/pdf_field.c | 1 - scripts/cmapdump.c | 1 - 11 files changed, 1 insertion(+), 12 deletions(-) diff --git a/draw/draw_device.c b/draw/draw_device.c index addd798c..3c705369 100644 --- a/draw/draw_device.c +++ b/draw/draw_device.c @@ -1847,7 +1847,6 @@ fz_draw_end_tile(fz_device *devp) tile_record *tile; tile_key *key; - if (dev->top == 0) { fz_warn(ctx, "Unexpected end_tile"); @@ -1962,7 +1961,6 @@ fz_draw_end_tile(fz_device *devp) /* Do nothing */ } - fz_drop_pixmap(dev->ctx, state[1].dest); fz_drop_pixmap(dev->ctx, state[1].shape); #ifdef DUMP_GROUP_BLENDS diff --git a/fitz/base_geometry.c b/fitz/base_geometry.c index 4819c930..9c03d7e2 100644 --- a/fitz/base_geometry.c +++ b/fitz/base_geometry.c @@ -480,4 +480,4 @@ fz_rect *fz_include_point_in_rect(fz_rect *r, const fz_point *p) if (p->y > r->y1) r->y1 = p->y; return r; -} \ No newline at end of file +} diff --git a/fitz/dev_svg.c b/fitz/dev_svg.c index 4353544d..f57ee937 100644 --- a/fitz/dev_svg.c +++ b/fitz/dev_svg.c @@ -206,7 +206,6 @@ svg_dev_text(svg_device *sdev, const fz_matrix *ctm, fz_text *text) fz_printf(out, "\n\n"); } - /* Entry points */ static void diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index b72f09d0..40c7b516 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -1486,7 +1486,6 @@ void fz_flatten_dash_path(fz_gel *gel, fz_path *path, const fz_stroke_state *str fz_irect *fz_bound_path_accurate(fz_context *ctx, fz_irect *bbox, const fz_irect *scissor, fz_path *path, const fz_stroke_state *stroke, const fz_matrix *ctm, float flatness, float linewidth); - /* * The device interface. */ diff --git a/fitz/res_colorspace.c b/fitz/res_colorspace.c index faa6c3c1..2a99f9ba 100644 --- a/fitz/res_colorspace.c +++ b/fitz/res_colorspace.c @@ -1177,7 +1177,6 @@ fz_convert_color(fz_context *ctx, fz_colorspace *ds, float *dv, fz_colorspace *s cc.convert(&cc, dv, sv); } - /* Indexed */ struct indexed diff --git a/fitz/res_image.c b/fitz/res_image.c index 82703b50..0454f6bd 100644 --- a/fitz/res_image.c +++ b/fitz/res_image.c @@ -301,7 +301,6 @@ fz_image_get_pixmap(fz_context *ctx, fz_image *image, int w, int h) break; } - /* Now we try to cache the pixmap. Any failure here will just result * in us not caching. */ fz_var(keyp); diff --git a/fitz/res_shade.c b/fitz/res_shade.c index fd5e0a85..c678bd17 100644 --- a/fitz/res_shade.c +++ b/fitz/res_shade.c @@ -752,7 +752,6 @@ fz_process_mesh_type6(fz_context *ctx, fz_shade *shade, const fz_matrix *ctm, fz else continue; - make_tensor_patch(&patch, 6, v); for (i = 0; i < 4; i++) diff --git a/fitz/res_text.c b/fitz/res_text.c index 57e02cf9..54c7691e 100644 --- a/fitz/res_text.c +++ b/fitz/res_text.c @@ -99,7 +99,6 @@ fz_bound_text(fz_context *ctx, fz_text *text, const fz_stroke_state *stroke, con bbox->x1 += 1; bbox->y1 += 1; - return bbox; } diff --git a/pdf/pdf_colorspace.c b/pdf/pdf_colorspace.c index 21d67eeb..c2fa106a 100644 --- a/pdf/pdf_colorspace.c +++ b/pdf/pdf_colorspace.c @@ -143,7 +143,6 @@ load_separation(pdf_document *xref, pdf_obj *array) return cs; } - static fz_colorspace * load_indexed(pdf_document *xref, pdf_obj *array) { diff --git a/pdf/pdf_field.c b/pdf/pdf_field.c index 50caa2ab..4d6d9cdb 100644 --- a/pdf/pdf_field.c +++ b/pdf/pdf_field.c @@ -53,4 +53,3 @@ int pdf_field_type(pdf_document *doc, pdf_obj *obj) else return FZ_WIDGET_TYPE_NOT_WIDGET; } - diff --git a/scripts/cmapdump.c b/scripts/cmapdump.c index d62c53b8..d8671eb2 100644 --- a/scripts/cmapdump.c +++ b/scripts/cmapdump.c @@ -192,7 +192,6 @@ fz_colorspace_context *fz_keep_colorspace_context(fz_context *ctx) return NULL; } - void fz_new_aa_context(fz_context *ctx) { } -- cgit v1.2.3