summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfm-x/spc_dvips.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipdfm-x/spc_dvips.c')
-rw-r--r--Build/source/texk/dvipdfm-x/spc_dvips.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Build/source/texk/dvipdfm-x/spc_dvips.c b/Build/source/texk/dvipdfm-x/spc_dvips.c
index 670ce0e2c27..b21b302783e 100644
--- a/Build/source/texk/dvipdfm-x/spc_dvips.c
+++ b/Build/source/texk/dvipdfm-x/spc_dvips.c
@@ -438,7 +438,7 @@ spc_handler_ps_tricks_brotate (struct spc_env *spe, struct spc_arg *args)
char *cmd, *RotBegin;
int i, l = args->endptr - args->curptr;
- static const char *pre = "tx@Dict begin /RAngle { %f } def\n";
+ static const char pre[] = "tx@Dict begin /RAngle { %f } def\n";
static const char *post = "= end";
if (!(++RAngleCount & 0x0f))
@@ -526,13 +526,11 @@ check_next_obj(const unsigned char * buffer)
}
static int
-spc_handler_ps_tricks_parse_path (struct spc_env *spe, struct spc_arg *args,
- int flag)
+spc_handler_ps_tricks_parse_path (struct spc_env *spe, struct spc_arg *args)
{
FILE* fp;
int k;
pdf_tmatrix M;
- char *distiller_template = get_distiller_template();
char *gs_out;
const char *clip;
int error;
@@ -658,7 +656,6 @@ spc_handler_ps_tricks_render (struct spc_env *spe, struct spc_arg *args)
if (check_next_obj((const unsigned char*)args->endptr)) {
fclose(fp);
} else {
- char *distiller_template = get_distiller_template();
char *gs_out;
int error, form_id;
transform_info p;
@@ -786,7 +783,7 @@ spc_handler_ps_trickscmd (struct spc_env *spe, struct spc_arg *args)
if (f_exec & render)
error |= spc_handler_ps_tricks_render(spe, args);
if (f_exec & parse)
- error |= spc_handler_ps_tricks_parse_path(spe, args, f_exec);
+ error |= spc_handler_ps_tricks_parse_path(spe, args);
if (f_exec & begin_put)
error |= spc_handler_ps_tricks_bput(spe, args, (f_exec & add_temp), (f_exec & req_ref));
if (f_exec & end_put)