summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2012-01-07 01:12:24 +0100
committerSebastian Rasmussen <sebras@gmail.com>2012-01-07 01:12:24 +0100
commit3917d7c63ad9b57aff28190476c7ef4297240f10 (patch)
treef3c34dbc9fa541e563987f1abf1e86dd48e02cd8
parent1ef1a581229dfc0b0466600bb8bc01b3109be02f (diff)
downloadmupdf-3917d7c63ad9b57aff28190476c7ef4297240f10.tar.xz
Fix compilation warnings
Add missing newline and remove excessive arguments.
-rw-r--r--fitz/base_memory.c3
-rw-r--r--pdf/pdf_repair.c2
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;
}