From 689093cc870e60ab82a176c33613fa0aeaa0bf69 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 3 May 2012 17:43:21 +0000 Subject: Remove a bunch of unused variables spotted by Ubuntu 12.04's gcc. [originally from svn r9478] --- in_afm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'in_afm.c') diff --git a/in_afm.c b/in_afm.c index b2aacae..559bb5d 100644 --- a/in_afm.c +++ b/in_afm.c @@ -229,14 +229,12 @@ void read_afm_file(input *in) { } else if (strcmp(key, "StartKernPairs") == 0 || strcmp(key, "StartKernPairs0") == 0) { int nkerns, i; - kern_pair *kerns; if (!(val = strtok(NULL, " \t"))) { error(err_afmval, &in->pos, key, 1); goto giveup; } nkerns = atoi(val); sfree(line); - kerns = snewn(nkerns, kern_pair); for (i = 0; i < nkerns; i++) { line = afm_read_line(in); if (line == NULL) -- cgit v1.1