diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 15:03:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-02-03 15:03:36 +0100 |
commit | 70efb11990b0947e04d0051db8a813b9a0a0e4a4 (patch) | |
tree | 6d965dc8ca0505a22c0fd0634e0c82cd63fd797a | |
parent | 3e6b04e0a18f1413c26c85f3e6833ac3507c45b5 (diff) | |
download | mupdf-70efb11990b0947e04d0051db8a813b9a0a0e4a4.tar.xz |
Remove extraneous blank lines.
-rw-r--r-- | draw/draw_path.c | 2 | ||||
-rw-r--r-- | fitz/base_memory.c | 1 | ||||
-rw-r--r-- | fitz/filt_predict.c | 1 | ||||
-rw-r--r-- | fitz/fitz.h | 2 | ||||
-rw-r--r-- | fitz/memento.c | 7 | ||||
-rw-r--r-- | pdf/pdf_interpret.c | 1 | ||||
-rw-r--r-- | xps/xps_util.c | 1 |
7 files changed, 3 insertions, 12 deletions
diff --git a/draw/draw_path.c b/draw/draw_path.c index de616ef7..eca7dc08 100644 --- a/draw/draw_path.c +++ b/draw/draw_path.c @@ -306,14 +306,12 @@ fz_add_line_join(struct sctx *s, fz_point a, fz_point b, fz_point c) fz_add_line(s, b.x - dmx, b.y - dmy, b.x - dlx1, b.y - dly1); } - if (linejoin == FZ_LINEJOIN_BEVEL) { fz_add_line(s, b.x - dlx0, b.y - dly0, b.x - dlx1, b.y - dly1); fz_add_line(s, b.x + dlx1, b.y + dly1, b.x + dlx0, b.y + dly0); } - if (linejoin == FZ_LINEJOIN_ROUND) { fz_add_line(s, b.x + dlx1, b.y + dly1, b.x + dlx0, b.y + dly0); diff --git a/fitz/base_memory.c b/fitz/base_memory.c index 776bdce6..bae83cbd 100644 --- a/fitz/base_memory.c +++ b/fitz/base_memory.c @@ -226,4 +226,3 @@ fz_alloc_context fz_alloc_default = fz_realloc_default, fz_free_default }; - diff --git a/fitz/filt_predict.c b/fitz/filt_predict.c index 45baf86b..8221c251 100644 --- a/fitz/filt_predict.c +++ b/fitz/filt_predict.c @@ -35,7 +35,6 @@ static inline int getcomponent(unsigned char *line, int x, int bpc) return 0; } - static inline void putcomponent(unsigned char *buf, int x, int bpc, int value) { switch (bpc) diff --git a/fitz/fitz.h b/fitz/fitz.h index 9628e505..d22c6661 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -1450,7 +1450,6 @@ void fz_free_display_list(fz_context *ctx, fz_display_list *list); fz_device *fz_new_list_device(fz_context *ctx, fz_display_list *list); void fz_execute_display_list(fz_display_list *list, fz_device *dev, fz_matrix ctm, fz_bbox area, fz_cookie *cookie); - /* * Plotting functions. */ @@ -1568,7 +1567,6 @@ struct fz_link_dest_s ld; }; - struct fz_link_s { fz_rect rect; diff --git a/fitz/memento.c b/fitz/memento.c index 85185b51..293c74e9 100644 --- a/fitz/memento.c +++ b/fitz/memento.c @@ -137,7 +137,6 @@ static struct { size_t numReallocs; } globals; - #define MEMENTO_EXTRASIZE (sizeof(Memento_BlkHeader) + Memento_PostSize) /* Round up size S to the next multiple of N (where N is a power of 2) */ @@ -714,7 +713,7 @@ static int squeeze(void) return 1; if (globals.squeezing && globals.patternBit >= MEMENTO_MAXPATTERN) return 1; - + if (globals.patternBit == 0) globals.squeezeAt = globals.sequence; @@ -757,7 +756,7 @@ static int squeeze(void) if (status != 0) { fprintf(stderr, "Child status=%d\n", status); } - + /* Put the files back */ for (i = 0; i < OPEN_MAX; i++) { if (stashed_map[i] != 0) { @@ -784,7 +783,7 @@ static void Memento_signal(void) else Memento_fin(); } - + int squeeze(void) { fprintf(stderr, "Memento memory squeezing disabled as no fork!\n"); diff --git a/pdf/pdf_interpret.c b/pdf/pdf_interpret.c index 812e38fb..cdab98a1 100644 --- a/pdf/pdf_interpret.c +++ b/pdf/pdf_interpret.c @@ -941,7 +941,6 @@ copy_state(fz_context *ctx, pdf_gstate *gs, pdf_gstate *old) pdf_keep_xobject(ctx, gs->softmask); } - static pdf_csi * pdf_new_csi(pdf_document *xref, fz_device *dev, fz_matrix ctm, char *event, fz_cookie *cookie, pdf_gstate *gstate) { diff --git a/xps/xps_util.c b/xps/xps_util.c index 5a3b1fbf..b79927ba 100644 --- a/xps/xps_util.c +++ b/xps/xps_util.c @@ -79,7 +79,6 @@ skip_authority(char *path) return p; } - #define SEP(x) ((x)=='/' || (x) == 0) static char * |