summaryrefslogtreecommitdiff
path: root/source/fitz/store.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-03-16 16:02:20 +0000
committerRobin Watts <robin.watts@artifex.com>2016-03-16 16:20:50 +0000
commit58007a25a03b5aa3cb5242c3a23a81cefb59d23f (patch)
tree599241ce70c2aae2937fe78e171e42ea3678f617 /source/fitz/store.c
parentf1254a760f718b8d7cbf687e8798ddd02806bc0c (diff)
downloadmupdf-58007a25a03b5aa3cb5242c3a23a81cefb59d23f.tar.xz
Avoid unused var warnings in Memento ref counting code.
Diffstat (limited to 'source/fitz/store.c')
-rw-r--r--source/fitz/store.c4
1 files changed, 2 insertions, 2 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);
}