From 293ea3cb17baf14ad935880345092fbc531ab705 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Thu, 16 Aug 2012 12:56:28 +0200 Subject: Silence some warnings. Mountian Lion causes various different warnings to be given, possibly because a change to clang by default. Fix them here. --- xps/xps_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xps') diff --git a/xps/xps_zip.c b/xps/xps_zip.c index e7756f89..099bbf46 100644 --- a/xps/xps_zip.c +++ b/xps/xps_zip.c @@ -716,7 +716,7 @@ static int xps_meta(fz_document *doc_, int key, void *ptr, int size) { xps_document *doc = (xps_document *)doc_; - doc = doc; + UNUSED(doc); switch(key) { -- cgit v1.2.3