diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-01-04 11:43:51 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-01-04 12:58:54 +0000 |
commit | 6e628ac44909dd2a0fc738eaa491d92a6e4c1db0 (patch) | |
tree | cbc850b055dbbb3814a80ce59220a385b9a7330c /base | |
parent | 95a16466806c9f8c4f783fd6ebfb0095b9227f56 (diff) | |
download | ghostpdl-6e628ac44909dd2a0fc738eaa491d92a6e4c1db0.tar.gz |
Squash Warnings: Simple unused variable warnings.
Diffstat (limited to 'base')
-rw-r--r-- | base/gdevflp.c | 2 | ||||
-rw-r--r-- | base/gdevoflt.c | 2 | ||||
-rw-r--r-- | base/gscoord.c | 1 | ||||
-rw-r--r-- | base/gsptype1.c | 2 | ||||
-rw-r--r-- | base/gxclist.c | 1 |
5 files changed, 6 insertions, 2 deletions
diff --git a/base/gdevflp.c b/base/gdevflp.c index 5b98fa617..fb07b8818 100644 --- a/base/gdevflp.c +++ b/base/gdevflp.c @@ -535,10 +535,12 @@ gs_private_st_composite(st_flp_image_enum, flp_image_enum, "flp_image_enum", flp_image_enum_enum_ptrs, flp_image_enum_reloc_ptrs); static ENUM_PTRS_WITH(flp_image_enum_enum_ptrs, flp_image_enum *pie) + pie = pie; /* Silence unused var warning */ return ENUM_USING_PREFIX(st_gx_image_enum_common, 0); ENUM_PTRS_END static RELOC_PTRS_WITH(flp_image_enum_reloc_ptrs, flp_image_enum *pie) { + pie = pie; /* Silence unused var warning */ RELOC_USING(st_gx_image_enum_common, vptr, size); } RELOC_PTRS_END diff --git a/base/gdevoflt.c b/base/gdevoflt.c index 5c8f70716..ac8a2a3f3 100644 --- a/base/gdevoflt.c +++ b/base/gdevoflt.c @@ -316,10 +316,12 @@ gs_private_st_composite(st_obj_filter_image_enum, obj_filter_image_enum, "obj_fi obj_filter_image_enum_enum_ptrs, obj_filter_image_enum_reloc_ptrs); static ENUM_PTRS_WITH(obj_filter_image_enum_enum_ptrs, obj_filter_image_enum *pie) + pie = pie; /* Silence unused var warning */ return ENUM_USING_PREFIX(st_gx_image_enum_common, 0); ENUM_PTRS_END static RELOC_PTRS_WITH(obj_filter_image_enum_reloc_ptrs, obj_filter_image_enum *pie) { + pie = pie; /* Silence unused var warning */ RELOC_USING(st_gx_image_enum_common, vptr, size); } RELOC_PTRS_END diff --git a/base/gscoord.c b/base/gscoord.c index a7c8ebca2..bc9d6dc81 100644 --- a/base/gscoord.c +++ b/base/gscoord.c @@ -247,7 +247,6 @@ int gs_translate_untransformed(gs_state * pgs, double dx, double dy) { gs_point pt; - int code; pt.x = (float)dx + pgs->ctm.tx; pt.y = (float)dy + pgs->ctm.ty; diff --git a/base/gsptype1.c b/base/gsptype1.c index b78924aa9..ef45225d8 100644 --- a/base/gsptype1.c +++ b/base/gsptype1.c @@ -1324,10 +1324,12 @@ static RELOC_PTRS_WITH(dc_colored_masked_reloc_ptrs, gx_device_color *cptr) RELOC_PTRS_END static ENUM_PTRS_WITH(dc_devn_masked_enum_ptrs, gx_device_color *cptr) ENUM_SUPER(gx_device_color, st_client_color, ccolor, 0); +cptr = cptr; /* Avoid unused warning */ ENUM_PTRS_END static RELOC_PTRS_WITH(dc_devn_masked_reloc_ptrs, gx_device_color *cptr) { RELOC_SUPER(gx_device_color, st_client_color, ccolor); +cptr = cptr; /* Avoid unused warning */ } RELOC_PTRS_END static ENUM_PTRS_BEGIN(dc_binary_masked_enum_ptrs) diff --git a/base/gxclist.c b/base/gxclist.c index 12b0a3e05..e5526c59f 100644 --- a/base/gxclist.c +++ b/base/gxclist.c @@ -92,7 +92,6 @@ ENUM_PTRS_END static RELOC_PTRS_WITH(device_clist_reloc_ptrs, gx_device_clist *cdev) { - int i; RELOC_PREFIX(st_device_forward); if (CLIST_IS_WRITER(cdev)) { if (cdev->writer.image_enum_id != gs_no_id) { |