X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/3e2dd889175865f670a2309f757eee3d6a7f4723..51d05cd0a6de05c0adc8986e1d534e426d6f582c:/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)