diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/bitmap.c | 1 | ||||
-rw-r--r-- | source/fitz/colorspace.c | 4 | ||||
-rw-r--r-- | source/fitz/draw-device.c | 1 | ||||
-rw-r--r-- | source/fitz/draw-glyph.c | 1 | ||||
-rw-r--r-- | source/fitz/fitz-imp.h | 1 | ||||
-rw-r--r-- | source/fitz/image.c | 1 | ||||
-rw-r--r-- | source/fitz/load-jpx.c | 1 | ||||
-rw-r--r-- | source/fitz/load-pnm.c | 2 | ||||
-rw-r--r-- | source/fitz/store.c | 1 | ||||
-rw-r--r-- | source/fitz/string.c | 1 | ||||
-rw-r--r-- | source/fitz/svg-device.c | 1 | ||||
-rw-r--r-- | source/fitz/text.c | 2 |
12 files changed, 1 insertions, 16 deletions
diff --git a/source/fitz/bitmap.c b/source/fitz/bitmap.c index f26cf935..046e7aa0 100644 --- a/source/fitz/bitmap.c +++ b/source/fitz/bitmap.c @@ -402,7 +402,6 @@ fz_band_writer *fz_new_pbm_band_writer(fz_context *ctx, fz_output *out) return writer; } - fz_band_writer *fz_new_pkm_band_writer(fz_context *ctx, fz_output *out) { fz_band_writer *writer = fz_new_band_writer(ctx, fz_band_writer, out); diff --git a/source/fitz/colorspace.c b/source/fitz/colorspace.c index 63032951..21517db2 100644 --- a/source/fitz/colorspace.c +++ b/source/fitz/colorspace.c @@ -2097,9 +2097,7 @@ typedef struct fz_cached_color_converter { fz_color_converter base; fz_hash_table *hash; - -} -fz_cached_color_converter; +} fz_cached_color_converter; static void fz_cached_color_convert(fz_context *ctx, fz_color_converter *cc_, float *ds, const float *ss) { diff --git a/source/fitz/draw-device.c b/source/fitz/draw-device.c index c15a5296..739ee3bd 100644 --- a/source/fitz/draw-device.c +++ b/source/fitz/draw-device.c @@ -1458,7 +1458,6 @@ fz_draw_fill_image_mask(fz_context *ctx, fz_device *devp, fz_image *image, const fz_paint_image_with_color(state->dest, &state->scissor, state->shape, pixmap, &local_ctm, colorbv, !(devp->hints & FZ_DONT_INTERPOLATE_IMAGES), devp->flags & FZ_DEVFLAG_GRIDFIT_AS_TILED); - if (state->blendmode & FZ_BLEND_KNOCKOUT) fz_knockout_end(ctx, dev); } diff --git a/source/fitz/draw-glyph.c b/source/fitz/draw-glyph.c index b3d4cb4c..bfd0af40 100644 --- a/source/fitz/draw-glyph.c +++ b/source/fitz/draw-glyph.c @@ -385,7 +385,6 @@ fz_render_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix *ctm, fz_colo #endif drop_glyph_cache_entry(ctx, cache->lru_tail); } - } } unlock_and_return_val: diff --git a/source/fitz/fitz-imp.h b/source/fitz/fitz-imp.h index 169f422e..6cf488d1 100644 --- a/source/fitz/fitz-imp.h +++ b/source/fitz/fitz-imp.h @@ -89,5 +89,4 @@ void fz_new_output_context(fz_context *ctx); void fz_drop_output_context(fz_context *ctx); fz_output_context *fz_keep_output_context(fz_context *ctx); - #endif diff --git a/source/fitz/image.c b/source/fitz/image.c index 2d18a87b..c7bbb3ad 100644 --- a/source/fitz/image.c +++ b/source/fitz/image.c @@ -500,7 +500,6 @@ pixmap_image_get_pixmap(fz_context *ctx, fz_image *image_, fz_irect *subarea, in * a pointer to the original 'tile'. */ return fz_keep_pixmap(ctx, image->tile); /* That's all we can give you! */ - } static void diff --git a/source/fitz/load-jpx.c b/source/fitz/load-jpx.c index 7f9e9734..ef99d154 100644 --- a/source/fitz/load-jpx.c +++ b/source/fitz/load-jpx.c @@ -178,7 +178,6 @@ jpx_write(unsigned char * pucData, short sComponent, unsigned long ulRow, v -= sign; *p = v << (8 - bps); } - } p += n; diff --git a/source/fitz/load-pnm.c b/source/fitz/load-pnm.c index 5c8fad61..21bf939c 100644 --- a/source/fitz/load-pnm.c +++ b/source/fitz/load-pnm.c @@ -111,7 +111,6 @@ pnm_read_white(fz_context *ctx, unsigned char *p, unsigned char *e, int single_l if (p < e && iseol(*p)) p++; } - } return p; @@ -295,7 +294,6 @@ pnm_ascii_read_image(fz_context *ctx, struct info *pnm, unsigned char *p, unsign *dp++ = map_color(ctx, v, pnm->maxval, 255); } } - } return img; diff --git a/source/fitz/store.c b/source/fitz/store.c index c85ceab2..c9a07428 100644 --- a/source/fitz/store.c +++ b/source/fitz/store.c @@ -166,7 +166,6 @@ do_reap(fz_context *ctx) item->type->drop_key(ctx, item->key); fz_free(ctx, item); } - } void fz_drop_key_storable(fz_context *ctx, const fz_key_storable *sc) diff --git a/source/fitz/string.c b/source/fitz/string.c index e9d8b086..e406cb03 100644 --- a/source/fitz/string.c +++ b/source/fitz/string.c @@ -183,7 +183,6 @@ fz_format_output_path(fz_context *ctx, char *path, size_t size, const char *fmt, while (i > 0) path[n++] = num[--i]; fz_strlcpy(path + n, p, size - n); - } #define SEP(x) ((x)=='/' || (x) == 0) diff --git a/source/fitz/svg-device.c b/source/fitz/svg-device.c index 571ced0e..0d01ae64 100644 --- a/source/fitz/svg-device.c +++ b/source/fitz/svg-device.c @@ -979,7 +979,6 @@ svg_dev_end_mask(fz_context *ctx, fz_device *dev) fz_printf(ctx, out, "\"/></mask>\n"); out = end_def(ctx, sdev); fz_printf(ctx, out, "<g mask=\"url(#ma%d)\">\n", mask); - } static void diff --git a/source/fitz/text.c b/source/fitz/text.c index a0e2abc8..454963b0 100644 --- a/source/fitz/text.c +++ b/source/fitz/text.c @@ -150,7 +150,6 @@ fz_bound_text(fz_context *ctx, const fz_text *text, const fz_stroke_state *strok fz_union_rect(bbox, &gbox); } } - } } @@ -199,7 +198,6 @@ fz_clone_text(fz_context *ctx, const fz_text *text) new_span->items = fz_malloc(ctx, span->len * sizeof(*span->items)); memcpy(new_span->items, span->items, span->len * sizeof(*span->items)); span = span->next; - } } fz_catch(ctx) |