summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-10-22 19:39:32 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-10-23 18:46:01 +0200
commit2582f7e21ec079d2d611ad748d5fc77ea3ce3938 (patch)
tree6745a15f6389de3635d17ffb1495b7de1a4aed25 /source/tools
parent17e5b245e8f0da3287097684f81d470cec8de991 (diff)
downloadmupdf-2582f7e21ec079d2d611ad748d5fc77ea3ce3938.tar.xz
Remove extra blank lines.
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/mjsgen.c1
-rw-r--r--source/tools/mudraw.c3
-rw-r--r--source/tools/pdfextract.c4
3 files changed, 0 insertions, 8 deletions
diff --git a/source/tools/mjsgen.c b/source/tools/mjsgen.c
index dc667e10..6f220ba9 100644
--- a/source/tools/mjsgen.c
+++ b/source/tools/mjsgen.c
@@ -59,7 +59,6 @@ static char lorem[] =
"pulvinar at. Proin sed arcu vel odio tempus lobortis sed posuere ipsum. Ut "
"feugiat pellentesque tortor nec ornare.\n";
-
static void usage(void)
{
fprintf(stderr, "usage: mjsgen [-p password] input.pdf output.mjs\n");
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index 720deeb7..bcae107d 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -439,7 +439,6 @@ file_level_headers(fz_context *ctx)
fz_parse_pclm_options(ctx, &opts, "compression=flate");
bander = fz_new_pclm_band_writer(ctx, out, &opts);
}
-
}
static void
@@ -458,7 +457,6 @@ file_level_trailers(fz_context *ctx)
if (output_format == OUT_PCLM)
fz_drop_band_writer(ctx, bander);
-
}
static void drawband(fz_context *ctx, fz_page *page, fz_display_list *list, fz_matrix ctm, fz_rect tbounds, fz_cookie *cookie, int band_start, fz_pixmap *pix, fz_bitmap **bit)
@@ -2046,7 +2044,6 @@ int mudraw_main(int argc, char **argv)
fz_drop_context(ctx);
-
#ifndef DISABLE_MUTHREADS
fin_mudraw_locks();
#endif /* DISABLE_MUTHREADS */
diff --git a/source/tools/pdfextract.c b/source/tools/pdfextract.c
index e56abe2b..d7ace87d 100644
--- a/source/tools/pdfextract.c
+++ b/source/tools/pdfextract.c
@@ -223,19 +223,15 @@ static void extractobject(int num)
fz_try(ctx)
{
ref = pdf_new_indirect(ctx, doc, num, 0);
-
if (isimage(ref))
saveimage(ref);
if (isfontdesc(ref))
savefont(ref);
-
}
fz_always(ctx)
pdf_drop_obj(ctx, ref);
fz_catch(ctx)
- {
fz_warn(ctx, "ignoring object %d", num);
- }
}
int pdfextract_main(int argc, char **argv)