summaryrefslogtreecommitdiff
path: root/Build/source/texk/ps2pkm/pkout.c
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-10-07 12:54:36 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2014-10-07 12:54:36 +0000
commit4ba0f6031b9eba7505c1ebb8996946fb1b53dd93 (patch)
tree64423c79fde70da96c79c29fbe068dbd8b938734 /Build/source/texk/ps2pkm/pkout.c
parent9183730796b683dcbb3ea2d41a7e8f0ca02449ab (diff)
texk/ps2pkm: Minor cleanup to avoid compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@35324 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ps2pkm/pkout.c')
-rw-r--r--Build/source/texk/ps2pkm/pkout.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/Build/source/texk/ps2pkm/pkout.c b/Build/source/texk/ps2pkm/pkout.c
index 1f21f80ffb8..809fd7c6da3 100644
--- a/Build/source/texk/ps2pkm/pkout.c
+++ b/Build/source/texk/ps2pkm/pkout.c
@@ -173,8 +173,8 @@ static int dyn_f, comp_size, cnt;
static void pk_runlengths(int W, int H, int (*next_pixel)())
{ int current_value, pixel, i, j, max_counts, first_count;
int total_pixels, rc, row, col, runlength;
- int color1, color2, total_pixels2, /* counting equal rows variables */
- pixels, i1, i2, newrow;
+ int color2, total_pixels2, /* counting equal rows variables */
+ i1, i2, newrow;
first_count = H; max_counts = first_count + H * W;
if (count == NULL) {
@@ -416,8 +416,7 @@ void pk_char(int char_code, /* character code 0..255 */
int h_offset, /* horizontal offset to reference point */
int v_offset, /* vertical offset to reference point */
int (*next_pixel)()) /* user's next pixel generator */
-{ int i, pl, current_value;
- short two_byte; /* two_byte quantities? */
+{ int i;
unsigned short flag_byte;
pk_runlengths(width, height, next_pixel);