From 3917d7c63ad9b57aff28190476c7ef4297240f10 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sat, 7 Jan 2012 01:12:24 +0100 Subject: Fix compilation warnings Add missing newline and remove excessive arguments. --- fitz/base_memory.c | 3 ++- pdf/pdf_repair.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/fitz/base_memory.c b/fitz/base_memory.c index 17a701e2..0b043a32 100644 --- a/fitz/base_memory.c +++ b/fitz/base_memory.c @@ -219,4 +219,5 @@ fz_alloc_context fz_alloc_default = fz_malloc_default, fz_realloc_default, fz_free_default -} ; \ No newline at end of file +}; + diff --git a/pdf/pdf_repair.c b/pdf/pdf_repair.c index af405f06..39c77f4d 100644 --- a/pdf/pdf_repair.c +++ b/pdf/pdf_repair.c @@ -325,7 +325,7 @@ pdf_repair_xref(pdf_xref *xref, char *buf, int bufsize) * do. */ if (!root) fz_rethrow(ctx); - fz_warn(ctx, "cannot parse trailer dictionary - ignoring rest of file", num, gen); + fz_warn(ctx, "cannot parse trailer dictionary - ignoring rest of file"); break; } -- cgit v1.2.3