Snippets for netpbm 11.15.3 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/nc784na4a9svj5rvhrgxlklfszk66lvw-netpbm-11.15.3.drv.
-
libpbmfont0.c:95:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 95 | fgets(line, 10, fileP); | ^~~~~~~~~~~~~~~~~~~~~~ -
importinc/netpbm/pm_config.h:361:19: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 361 | #define pm_pipe pipe
-
cmd_name.c:35:1: warning: old-style function definition [-Wold-style-definition] 35 | cmd_name( argv ) | ^~~~~~~~ -
rle_getrow.c:151:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | fread(&setup, 1, SETUPSIZE, ifP); /* assume VAX packing */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rle_getrow.c:171:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 171 | fread((char *)bg_color, 1, 1 + (setup.h_ncolors / 2) * 2, ifP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rle_getrow.c:215:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 215 | fread(maptemp, 2, maplen, ifP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rle_getrow.c:83:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | fread(commentHeap, 1, evenlen, ifP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rle_getrow.c:399:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 399 | fread((char *)scanc, 1, nc, ifP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rle_getskip.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | rle_getskip( the_hdr ) | ^~~~~~~~~~~ -
rle_putrow.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | rle_putrow(rows, rowlen, the_hdr) | ^~~~~~~~~~ -
rle_putrow.c:520:1: warning: old-style function definition [-Wold-style-definition] 520 | rle_put_init( the_hdr ) | ^~~~~~~~~~~~ -
rle_putrow.c:560:1: warning: old-style function definition [-Wold-style-definition] 560 | rle_put_setup( the_hdr ) | ^~~~~~~~~~~~~ -
rle_putrow.c:583:1: warning: old-style function definition [-Wold-style-definition] 583 | rle_puteof( the_hdr ) | ^~~~~~~~~~ -
rle_row_alc.c:58:1: warning: old-style function definition [-Wold-style-definition] 58 | rle_row_alloc( the_hdr, scanp ) | ^~~~~~~~~~~~~ -
rle_row_alc.c:117:1: warning: old-style function definition [-Wold-style-definition] 117 | rle_row_free( the_hdr, scanp ) | ^~~~~~~~~~~~ -
pbmtoppa.c:128:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | fgets (line, 1024, ifP); | ^~~~~~~~~~~~~~~~~~~~~~~ -
atktopbm.c:271:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 271 | fscanf(ifP, " %d ", &version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
atktopbm.c:280:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 280 | fscanf(ifP, " %u %ld %ld %ld %ld %ld %ld", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | &options, &xscale, &yscale, &xoffset, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 282 | &yoffset, &subwidth, &subheight); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
atktopbm.c:288:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fscanf(ifP, " %5s", keyword); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
atktopbm.c:292:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 292 | fscanf(ifP, " %d %d %d ", &objectid, &width, &height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ddbugtopbm.c:111:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | fread(buf, 1, 64, in); | ^~~~~~~~~~~~~~~~~~~~~ -
ddbugtopbm.c:113:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 113 | fread(buf, 1, 14, in); | ^~~~~~~~~~~~~~~~~~~~~ -
ddbugtopbm.c:122:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 122 | fread(buf, 1, 8, in); | ^~~~~~~~~~~~~~~~~~~~ -
ddbugtopbm.c:134:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 134 | fread(buf, 1, 16*1024, in); /* XXX crappy! */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
param.c:507:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 507 | fgets(input, 256, fpointer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
param.c:615:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 615 | fgets(input, sizeof(input), fpointer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
parallel.c:1701:26: warning: '%s' directive output may be truncated writing up to 65535 bytes into a region of size between 768 and 1023 [-Wformat-truncation=] 1701 | "%s %s -l %s %s " | ^~ -
jpeg.c:302:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 302 | fread(junk,sizeof(int),1,inFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
jpeg.c:314:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | fread(&(inoffsets[i]), sizeof(int), 1, inFile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
jpeg.c:323:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 323 | read(fd, &(op_code), 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -
jpeg.c:325:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 325 | read(fd,junk,audiosize); | ^~~~~~~~~~~~~~~~~~~~~~~ -
jpeg.c:326:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 326 | read(fd, &(op_code), 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -
jpeg.c:329:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 329 | read(fd, jpeg_size, 4); | ^~~~~~~~~~~~~~~~~~~~~~ -
jpeg.c:330:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 330 | read(fd, &(inbuffer[607]), size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gouldtoppm.c:68:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 68 | fread(pbuffer, 1, 1, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
gouldtoppm.c:73:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 73 | fread(pbuffer, 2, 1, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
gouldtoppm.c:78:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 78 | fread(pbuffer, 3, 1, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
gouldtoppm.c:83:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 83 | fread(pbuffer, 3, 1, ifp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
imgtoppm.c:284:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fread(buf, 8, 1, ifP); | ^~~~~~~~~~~~~~~~~~~~~ -
camera.c:1411:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1411 | fscanf (ifp, "%d", neut+i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
tgatoppm.c:242:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 242 | fread( junk, 1, (int) tgaP->IdLength, ifP ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
yuvsplittoppm.c:230:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 230 | fread(y1buf, cmdline.width, 1, yf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
yuvsplittoppm.c:231:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | fread(y2buf, cmdline.width, 1, yf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
yuvsplittoppm.c:232:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 232 | fread(ubuf, cmdline.width/2, 1, uf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
yuvsplittoppm.c:233:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 233 | fread(vbuf, cmdline.width/2, 1, vf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:487:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fread(slfrof.slh, 17, 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:488:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 488 | fread(&slfrof.sntype, sizeof(char), 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:489:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | fread(&slfrof.slevel, sizeof(char), 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:490:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 490 | fread(&slfrof.sxdots, sizeof(short), 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:491:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 491 | fread(&slfrof.sydots, sizeof(short), 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:492:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 492 | fread(ubfr, 4, 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:493:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 493 | fread(&slfrof.shwfill, sizeof(short), 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
sldtoppm.c:494:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | fread(&rtest, sizeof rtest, 1, slfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gemtopnm.c:209:25: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | fread(pattern, 1, patlen, ifP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
params.c:636:9: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 636 | scanf(MAXSTRLEN_SCANF, answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:440:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 440 | fread(pdbHeadP->name, 1, 32, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:449:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 449 | fread(pdbHeadP->type, 1, 4, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:450:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 450 | fread(pdbHeadP->id, 1, 4, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:483:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 483 | fread(&rechdrP->unknown[0], 1, 3, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:484:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 484 | fread(&rechdrP->rec_type, 1, 1, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:493:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 493 | fread(&rechdrP->unknown[0], 1, 3, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:494:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | fread(&rechdrP->rec_type, 1, 1, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:500:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 500 | fread(rechdrP->extra, 1, rechdrP->n_extra, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:509:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 509 | fread(&rechdrP->unknown[0], 1, 3, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:510:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 510 | fread(&rechdrP->rec_type, 1, 1, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:281:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 281 | fread(&imgP->name, 1, 32, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:284:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 284 | fread(&imgP->reserved1, 1, 4, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:285:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | fread(&imgP->note, 1, 4, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pdbimgtopam.c:288:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 288 | fread(&imgP->reserved2, 1, 4, fileP); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~