diff options
-rw-r--r-- | source/fitz/store.c | 4 | ||||
-rw-r--r-- | source/pdf/pdf-object.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/fitz/store.c b/source/fitz/store.c index b995f915..a71fb94d 100644 --- a/source/fitz/store.c +++ b/source/fitz/store.c @@ -61,7 +61,7 @@ fz_keep_storable(fz_context *ctx, const fz_storable *sc) fz_storable *s = (fz_storable *)sc; if (s && s->refs > 0) - Memento_takeRef(s); + (void)Memento_takeRef(s); return fz_keep_imp(ctx, s, &s->refs); } @@ -80,7 +80,7 @@ fz_drop_storable(fz_context *ctx, const fz_storable *sc) itself without any operations on the fz_store. */ if (s && s->refs > 0) - Memento_dropRef(s); + (void)Memento_dropRef(s); if (fz_drop_imp(ctx, s, &s->refs)) s->drop(ctx, s); } 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) |