summaryrefslogtreecommitdiff
path: root/pcl/pcindxed.c
diff options
context:
space:
mode:
Diffstat (limited to 'pcl/pcindxed.c')
-rw-r--r--pcl/pcindxed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pcl/pcindxed.c b/pcl/pcindxed.c
index dff9185f7..292dfe803 100644
--- a/pcl/pcindxed.c
+++ b/pcl/pcindxed.c
@@ -878,7 +878,6 @@ pcl_cs_indexed_set_default_palette_entry(
/* get a unique copy of the indexed color space */
if ((code = unshare_indexed_cspace(ppindexed)) < 0)
return code;
- pindexed = *ppindexed;
return set_default_entries(*ppindexed, indx, 1, true);
}