summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-object.c')
-rw-r--r--source/pdf/pdf-object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-object.c b/source/pdf/pdf-object.c
index 902b0645..f2e4551f 100644
--- a/source/pdf/pdf-object.c
+++ b/source/pdf/pdf-object.c
@@ -198,7 +198,7 @@ pdf_keep_obj(fz_context *ctx, pdf_obj *obj)
{
if (obj >= PDF_OBJ__LIMIT)
{
- Memento_takeRef(obj);
+ (void)Memento_takeRef(obj);
obj->refs ++;
}
return obj;
@@ -1718,7 +1718,7 @@ pdf_drop_obj(fz_context *ctx, pdf_obj *obj)
{
if (obj >= PDF_OBJ__LIMIT)
{
- Memento_dropRef(obj);
+ (void)Memento_dropRef(obj);
if (--obj->refs)
return;
if (obj->kind == PDF_ARRAY)