summaryrefslogtreecommitdiff
path: root/backend/tiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:30:36 +0200
committerraveit65 <[email protected]>2021-11-20 18:31:11 +0100
commit816d2dc8226f8d271aa1a6cd30549614769d5267 (patch)
treeb7bf882bb656964b9a919d4467fbde54fd9be867 /backend/tiff
parent0c38b79c9556e475652d37556f0b2ffd73e0a4e4 (diff)
downloadatril-816d2dc8226f8d271aa1a6cd30549614769d5267.tar.bz2
atril-816d2dc8226f8d271aa1a6cd30549614769d5267.tar.xz
Use a blank line at most
Diffstat (limited to 'backend/tiff')
-rw-r--r--backend/tiff/tiff-document.c1
-rw-r--r--backend/tiff/tiff2ps.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/backend/tiff/tiff-document.c b/backend/tiff/tiff-document.c
index 2129de20..c47be57f 100644
--- a/backend/tiff/tiff-document.c
+++ b/backend/tiff/tiff-document.c
@@ -361,7 +361,6 @@ tiff_document_render_pixbuf (EvDocument *document,
if (width <= 0 || height <= 0)
return NULL;
-
if (width >= INT_MAX / 4)
/* overflow */
return NULL;
diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c
index bcbbf885..41f2fb9a 100644
--- a/backend/tiff/tiff2ps.c
+++ b/backend/tiff/tiff2ps.c
@@ -449,7 +449,6 @@ PlaceImage(TIFF2PSContext *ctx, double pagewidth, double pageheight,
return splitpage;
}
-
void
tiff2ps_process_page(TIFF2PSContext* ctx, TIFF* tif, double pw, double ph,
double lm, double bm, gboolean cnt)
@@ -592,7 +591,6 @@ tiff2ps_process_page(TIFF2PSContext* ctx, TIFF* tif, double pw, double ph,
}
}
-
static char DuplexPreamble[] = "\
%%BeginFeature: *Duplex True\n\
systemdict begin\n\