int saw_bb, must_inline;
int lx, ly, ux, uy;
ps_image_t *val;
- size_t cnt;
if (!EPSF_contents)
EPSF_contents = dtopen(&ImageDictDisc, Dtoset);
fstat(fileno(fp), &statbuf);
contents = val->contents = N_GNEW(statbuf.st_size + 1, char);
fseek(fp, 0, SEEK_SET);
- cnt = fread(contents, statbuf.st_size, 1, fp);
+ fread(contents, statbuf.st_size, 1, fp);
contents[statbuf.st_size] = '\0';
fclose(fp);
dtinsert(EPSF_contents, val);
static void svg_fputs(char *s)
{
int len;
- size_t cnt;
len = strlen(s);
switch (Output_lang) {
exit(1);
#endif
case SVG:
- cnt = fwrite(s, sizeof(char), (unsigned) len, Output_file);
+ fwrite(s, sizeof(char), (unsigned) len, Output_file);
break;
}
}
long endpos;
long len;
char *buf;
- size_t cnt;
if (!agerrout)
return 0;
len = endpos - aglast;
buf = malloc(len + 1);
fseek(agerrout, aglast, SEEK_SET);
- cnt = fread(buf, sizeof(char), len, agerrout);
+ fread(buf, sizeof(char), len, agerrout);
buf[len] = '\0';
fseek(agerrout, endpos, SEEK_SET);