summaryrefslogtreecommitdiff
path: root/pcl
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-08-13 15:05:50 +0100
committerChris Liddell <chris.liddell@artifex.com>2021-08-13 15:05:50 +0100
commit4ea891719046f38f2d7758f7556d7a291fb1b1ad (patch)
tree60e9ea0dd6fcd78fa3028ea6d8e2e6720c9f0ad3 /pcl
parentc8e25a0dfea429462f0308ea60d61237b52faabc (diff)
downloadghostpdl-4ea891719046f38f2d7758f7556d7a291fb1b1ad.tar.gz
Coverity ID: 372274
Explicitly ignore return value from gs_purge_font() As things stand, it shouldn't ever return an error, and there is nothing we can do differently in the event of an error.
Diffstat (limited to 'pcl')
-rw-r--r--pcl/pl/plfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcl/pl/plfont.c b/pcl/pl/plfont.c
index 76cf606d5..ec53dd9bf 100644
--- a/pcl/pl/plfont.c
+++ b/pcl/pl/plfont.c
@@ -81,7 +81,7 @@ pl_free_font(gs_memory_t * mem, void *plf, client_name_t cname)
gs_free_object(mem, (void *)plfont->glyphs.table, cname);
if (plfont->pfont) { /* might be only partially constructed */
gs_purge_font_from_char_caches_completely(plfont->pfont);
- gs_purge_font(plfont->pfont);
+ (void)gs_purge_font(plfont->pfont);
gs_free_object(mem, plfont->pfont, cname);
}
if (plfont->font_file) {