Snippets for magic 8.3.682 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/magic/8.3.682/1.fc46/data/logs/aarch64/build.log.
-
bpUtils.c:75:7: warning: unused variable ‘index’ [-Wunused-variable] 75 | int index; | ^~~~~ -
bpUtils.c:74:12: warning: unused variable ‘coord’ [-Wunused-variable] 74 | int ref, coord; | ^~~~~ -
bpUtils.c:74:7: warning: unused variable ‘ref’ [-Wunused-variable] 74 | int ref, coord; | ^~~ -
bpBins.c:83:8: warning: unused variable ‘abbox’ [-Wunused-variable] 83 | Rect abbox; | ^~~~~ -
bpBins.c:265:13: warning: unused variable ‘ba’ [-Wunused-variable] 265 | BinArray *ba; | ^~ -
bpBins.c:593:9: warning: unused variable ‘dimX’ [-Wunused-variable] 593 | int dimX = ba->ba_dimX; | ^~~~ -
bpMain.c:117:7: warning: unused variable ‘binDim’ [-Wunused-variable] 117 | int binDim; | ^~~~~~ -
bpMain.c:116:7: warning: unused variable ‘size’ [-Wunused-variable] 116 | int size; | ^~~~ -
bpStat.c:106:7: warning: unused variable ‘maxSubCount’ [-Wunused-variable] 106 | int maxSubCount = 0; | ^~~~~~~~~~~ -
bpStat.c:95:7: warning: unused variable ‘h’ [-Wunused-variable] 95 | int h = GEO_HEIGHT(bbox); | ^ -
bpStat.c:94:7: warning: unused variable ‘w’ [-Wunused-variable] 94 | int w = GEO_WIDTH(bbox); | ^ -
bpStat.c:93:7: warning: unused variable ‘dimY’ [-Wunused-variable] 93 | int dimY = numBins/dimX; | ^~~~ -
bpStat.c:90:7: warning: unused variable ‘dy’ [-Wunused-variable] 90 | int dy = ba->ba_dy; | ^~ -
bpStat.c:89:7: warning: unused variable ‘dx’ [-Wunused-variable] 89 | int dx = ba->ba_dx; | ^~ -
bpStat.c:231:7: warning: unused variable ‘numBins’ [-Wunused-variable] 231 | int numBins; | ^~~~~~~ -
CmdAB.c:548:1: warning: label ‘freelist’ defined but not used [-Wunused-label] 548 | freelist: | ^~~~~~~~ -
CmdAB.c:217:15: warning: variable ‘yval’ set but not used [-Wunused-but-set-variable=] 217 | int xval, yval; | ^~~~ -
CmdAB.c:217:9: warning: variable ‘xval’ set but not used [-Wunused-but-set-variable=] 217 | int xval, yval; | ^~~~ -
CmdAB.c:704:28: warning: ‘distancex’ may be used uninitialized [-Wmaybe-uninitialized] 704 | int option, direction, distancex, distancey; | ^~~~~~~~~ -
CmdAB.c:704:39: warning: ‘distancey’ may be used uninitialized [-Wmaybe-uninitialized] 704 | int option, direction, distancex, distancey; | ^~~~~~~~~ -
CmdAB.c:878:25: warning: ‘tcorner’ may be used uninitialized [-Wmaybe-uninitialized] 878 | ToolMoveBox(tcorner, &cmd->tx_p, TRUE, rootBoxDef); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CmdAB.c:1168:13: warning: ‘direction’ may be used uninitialized [-Wmaybe-uninitialized] 1168 | switch (direction) | ^~~~~~ -
CmdCD.c:1178:35: warning: typedef ‘optionType’ locally defined but not used [-Wunused-local-typedefs] 1178 | IDX_MODIFIED } optionType; | ^~~~~~~~~~ -
CmdCD.c:1762:9: warning: unused variable ‘argshift’ [-Wunused-variable] 1762 | int argshift; | ^~~~~~~~ -
CmdCD.c:2612:10: warning: unused variable ‘area’ [-Wunused-variable] 2612 | Rect area; | ^~~~ -
CmdCD.c:4055:19: warning: unused variable ‘trans’ [-Wunused-variable] 4055 | Transform trans; | ^~~~~ -
CmdCD.c:4053:29: warning: unused variable ‘use’ [-Wunused-variable] 4053 | CellUse * rootUse, *use; | ^~~ -
CmdCD.c:4628:9: warning: variable ‘pNum’ set but not used [-Wunused-but-set-variable=] 4628 | int pNum; | ^~~~ -
CmdCD.c:5066:11: warning: typedef ‘optionType’ locally defined but not used [-Wunused-local-typedefs] 5066 | } optionType; | ^~~~~~~~~~ -
CmdCD.c:5072:11: warning: typedef ‘refPointType’ locally defined but not used [-Wunused-local-typedefs] 5072 | } refPointType; | ^~~~~~~~~~~~ -
CmdCD.c:1050:30: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 2 [-Wformat-overflow=] 1050 | sprintf(writeMode, "w%d", CalmaCompression); | ^~ -
CmdCD.c:1076:14: warning: ‘rootDef’ may be used uninitialized [-Wmaybe-uninitialized] 1076 | if (!CalmaWrite(rootDef, fp)) | ^~~~~~~~~~~~~~~~~~~~~~~ -
CmdCD.c:2238:9: warning: ‘namep’ may be used uninitialized [-Wmaybe-uninitialized] 2238 | f = PaOpen(namep, "w", ".cif", ".", (char *) NULL, (char **) NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CmdCD.c:3715:19: warning: ‘pathtype’ may be used uninitialized [-Wmaybe-uninitialized] 3715 | cpl->pathtype = pathtype; | ~~~~~~~~~~~~~~^~~~~~~~~~ -
CmdE.c:91:10: warning: unused variable ‘noCurrentUse’ [-Wunused-variable] 91 | bool noCurrentUse = FALSE; | ^~~~~~~~~~~~ -
CmdE.c:588:1: warning: label ‘badusage’ defined but not used [-Wunused-label] 588 | badusage: | ^~~~~~~~ -
CmdE.c:550:1: warning: label ‘badrect’ defined but not used [-Wunused-label] 550 | badrect: | ^~~~~~~ -
CmdE.c:1076:10: warning: unused variable ‘doLocal’ [-Wunused-variable] 1076 | bool doLocal = FALSE; | ^~~~~~~ -
CmdE.c:1217:13: warning: ‘selectedUse’ may be used uninitialized [-Wmaybe-uninitialized] 1217 | ExtUnique(selectedUse, all); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CmdE.c:1393:28: warning: ‘warn’ may be used uninitialized [-Wmaybe-uninitialized] 1393 | else ExtDoWarn |= warn; | ^~ -
CmdFI.c:2040:61: warning: variable ‘doports’ set but not used [-Wunused-but-set-variable=] 2040 | bool dolabels, dobox, toplabels, invert, doports, doinplace; | ^~~~~~~ -
CmdLQ.c:191:9: warning: unused variable ‘option’ [-Wunused-variable] 191 | int option; | ^~~~~~ -
CmdLQ.c:1528:10: warning: unused variable ‘found’ [-Wunused-variable] 1528 | bool found; | ^~~~~ -
CmdLQ.c:2997:11: warning: unused variable ‘cursor’ [-Wunused-variable] 2997 | Point cursor; | ^~~~~~ -
CmdLQ.c:2996:11: warning: unused variable ‘lastargv’ [-Wunused-variable] 2996 | char *lastargv; | ^~~~~~~~ -
CmdLQ.c:3097:44: warning: typedef ‘orientType’ locally defined but not used [-Wunused-local-typedefs] 3097 | IDX_ORIENT_FS, IDX_ORIENT_FW } orientType; | ^~~~~~~~~~ -
../database/database.h:814:35: warning: ‘plane’ may be used uninitialized [-Wmaybe-uninitialized] 814 | #define DBPaintPlane(a, b, c, d) DBPaintPlane0(a, b, c, d, PAINT_NORMAL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CmdRS.c:983:15: warning: unused variable ‘fileName’ [-Wunused-variable] 983 | char *fileName; | ^~~~~~~~ -
CmdRS.c:858:14: warning: unused variable ‘rootPoint’ [-Wunused-variable] 858 | Point p, rootPoint, atPoint; | ^~~~~~~~~ -
CmdRS.c:1775:10: warning: unused variable ‘selarea’ [-Wunused-variable] 1775 | Rect selarea; | ^~~~~~~ -
CmdRS.c:2940:19: warning: unused variable ‘crec’ [-Wunused-variable] 2940 | DBWclientRec *crec; | ^~~~ -
CmdRS.c:2734:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2734 | system(command); | ^~~~~~~~~~~~~~~ -
CmdRS.c:985:18: warning: ‘optionArgs’ may be used uninitialized [-Wmaybe-uninitialized] 985 | option = Lookup(optionArgs[0], cmdSelectOption); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CmdRS.c:1376:17: warning: ‘aptr’ may be used uninitialized [-Wmaybe-uninitialized] 1376 | sprintf(aptr + 1, "at %di %di", scx.scx_area.r_xbot, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1377 | scx.scx_area.r_ybot); | ~~~~~~~~~~~~~~~~~~~~ -
CmdTZ.c:90:15: warning: unused variable ‘result’ [-Wunused-variable] 90 | int pNum, result; | ^~~~~~ -
CmdTZ.c:880:19: warning: unused variable ‘crec’ [-Wunused-variable] 880 | DBWclientRec *crec; | ^~~~ -
CmdTZ.c:2269:20: warning: unused variable ‘argv’ [-Wunused-variable] 2269 | char *prompt, *argv; | ^~~~ -
CmdTZ.c:1431:16: warning: ‘i’ may be used uninitialized [-Wmaybe-uninitialized] 1431 | if (i > 1) | ^ -
CmdWizard.c:287:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 287 | fprintf(outf, " layer %d: %d\n", i, | ~^ | | | int | %ld 288 | (long)ttotal * (long)sizeof(Tile)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int -
CmdWizard.c:312:50: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=] 312 | fprintf(outf, " layer %d: %d\n", i, | ~^ | | | int | %ld 313 | (long)ttotal * (long)sizeof(Tile)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long int -
DBbound.c:64:12: warning: unused variable ‘plane’ [-Wunused-variable] 64 | Plane *plane; | ^~~~~ -
DBcell.c:194:22: warning: unused variable ‘arg’ [-Wunused-variable] 194 | struct searchArg arg; /* argument to placeCellFunc() */ | ^~~ -
DBcell.c:193:22: warning: unused variable ‘bplane’ [-Wunused-variable] 193 | BPlane *bplane; /* argument to DBSrCellPlaneArea(), placeCellFunc() */ | ^~~~~~ -
DBcell.c:192:22: warning: unused variable ‘rect’ [-Wunused-variable] 192 | Rect rect; /* argument to DBSrCellPlaneArea(), placeCellFunc() */ | ^~~~ -
DBcell.c:228:22: warning: unused variable ‘arg’ [-Wunused-variable] 228 | struct searchArg arg; /* argument to placeCellFunc() */ | ^~~ -
DBcell.c:227:22: warning: unused variable ‘bplane’ [-Wunused-variable] 227 | BPlane *bplane; /* argument to DBSrCellPlaneArea(), placeCellFunc() */ | ^~~~~~ -
DBcell.c:226:22: warning: unused variable ‘rect’ [-Wunused-variable] 226 | Rect rect; /* argument to DBSrCellPlaneArea(), placeCellFunc() */ | ^~~~ -
DBcellcopy.c:433:13: warning: unused variable ‘lastlen’ [-Wunused-variable] 433 | int lastlen; | ^~~~~~~ -
DBcellcopy.c:432:22: warning: unused variable ‘lastval’ [-Wunused-variable] 432 | char *vptr, *lastval; | ^~~~~~~ -
DBcellcopy.c:432:15: warning: unused variable ‘vptr’ [-Wunused-variable] 432 | char *vptr, *lastval; | ^~~~ -
DBcellcopy.c:428:12: warning: unused variable ‘j’ [-Wunused-variable] 428 | int i, j; | ^ -
DBcellcopy.c:428:9: warning: unused variable ‘i’ [-Wunused-variable] 428 | int i, j; | ^ -
DBcellcopy.c:426:13: warning: unused variable ‘rnew’ [-Wunused-variable] 426 | Rect r, rnew; | ^~~~ -
DBcellcopy.c:426:10: warning: unused variable ‘r’ [-Wunused-variable] 426 | Rect r, rnew; | ^ -
DBcellcopy.c:425:35: warning: unused variable ‘vptr’ [-Wunused-variable] 425 | char *parentprop, *newvalue, *vptr; | ^~~~ -
DBcellcopy.c:425:24: warning: unused variable ‘newvalue’ [-Wunused-variable] 425 | char *parentprop, *newvalue, *vptr; | ^~~~~~~~ -
DBcellcopy.c:425:11: warning: unused variable ‘parentprop’ [-Wunused-variable] 425 | char *parentprop, *newvalue, *vptr; | ^~~~~~~~~~ -
DBcellcopy.c:422:16: warning: unused variable ‘trans’ [-Wunused-variable] 422 | Transform *trans = puds->puds_trans; | ^~~~~ -
DBcellcopy.c:642:20: warning: unused variable ‘newlab’ [-Wunused-variable] 642 | Label *newlab; | ^~~~~~ -
DBcellcopy.c:944:21: warning: unused variable ‘defaultSubTypeMask’ [-Wunused-variable] 944 | TileTypeBitMask defaultSubTypeMask; | ^~~~~~~~~~~~~~~~~~ -
DBcellname.c:467:10: warning: unused variable ‘topdone’ [-Wunused-variable] 467 | bool topdone; | ^~~~~~~ -
DBcellname.c:1316:9: warning: variable ‘found’ set but not used [-Wunused-but-set-variable=] 1316 | int found; | ^~~~~ -
DBcellname.c:1395:9: warning: variable ‘found’ set but not used [-Wunused-but-set-variable=] 1395 | int found; | ^~~~~ -
DBcellname.c:1561:9: warning: variable ‘found’ set but not used [-Wunused-but-set-variable=] 1561 | int found; | ^~~~~ -
DBcellname.c:1623:11: warning: unused variable ‘propvalue’ [-Wunused-variable] 1623 | char *propvalue; | ^~~~~~~~~ -
DBcellsrch.c:842:17: warning: variable ‘context’ set but not used [-Wunused-but-set-variable=] 842 | TreeContext context; | ^~~~~~~ -
DBcellsrch.c:1185:11: warning: variable ‘bbox’ set but not used [-Wunused-but-set-variable=] 1185 | Rect *bbox; | ^~~~ -
DBcellsrch.c:1306:11: warning: variable ‘bbox’ set but not used [-Wunused-but-set-variable=] 1306 | Rect *bbox; | ^~~~ -
DBcellsrch.c:1905:11: warning: unused variable ‘newvalue’ [-Wunused-variable] 1905 | char *newvalue; | ^~~~~~~~ -
DBcellsrch.c:1964:25: warning: unused variable ‘lt’ [-Wunused-variable] 1964 | LinkedTile *lhead, *lt; | ^~ -
DBcellsrch.c:1964:17: warning: unused variable ‘lhead’ [-Wunused-variable] 1964 | LinkedTile *lhead, *lt; | ^~~~~ -
DBcellsrch.c:2276:1: warning: label ‘donecell’ defined but not used [-Wunused-label] 2276 | donecell: | ^~~~~~~~ -
DBcellsrch.c:2181:25: warning: unused variable ‘lt’ [-Wunused-variable] 2181 | LinkedTile *lhead, *lt; | ^~ -
DBcellsrch.c:2181:17: warning: unused variable ‘lhead’ [-Wunused-variable] 2181 | LinkedTile *lhead, *lt; | ^~~~~ -
DBcellsrch.c:776:31: warning: ‘tnext’ may be used uninitialized [-Wmaybe-uninitialized] 776 | fp->tf_tpath->tp_next = tnext; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
DBcellsrch.c:1858:9: warning: ‘scalen’ may be used uninitialized [-Wmaybe-uninitialized] 1858 | dbScalePlane(proprec->prop_value.prop_plane, newplane, -1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1859 | scalen, scaled, TRUE); | ~~~~~~~~~~~~~~~~~~~~~ -
DBcellsrch.c:1858:9: warning: ‘scaled’ may be used uninitialized [-Wmaybe-uninitialized] 1858 | dbScalePlane(proprec->prop_value.prop_plane, newplane, -1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1859 | scalen, scaled, TRUE); | ~~~~~~~~~~~~~~~~~~~~~ -
DBcellsrch.c:1917:9: warning: ‘origx’ may be used uninitialized [-Wmaybe-uninitialized] 1917 | dbMovePlane(proprec->prop_value.prop_plane, newplane, -1, origx, origy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DBcellsrch.c:1917:9: warning: ‘origy’ may be used uninitialized [-Wmaybe-uninitialized] 1917 | dbMovePlane(proprec->prop_value.prop_plane, newplane, -1, origx, origy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DBconnect.c:771:14: warning: variable ‘foundOne’ set but not used [-Wunused-but-set-variable=] 771 | bool foundOne; | ^~~~~~~~ -
DBconnect.c:906:19: warning: unused variable ‘scx2’ [-Wunused-variable] 906 | SearchContext scx2; | ^~~~ -
DBexpand.c:191:9: warning: unused variable ‘n’ [-Wunused-variable] 191 | int n = DBLambda[1]; | ^ -
DBio.c:234:9: warning: unused variable ‘dlen’ [-Wunused-variable] 234 | int dlen; | ^~~~ -
DBio.c:230:29: warning: unused variable ‘dptr’ [-Wunused-variable] 230 | char *newpath, *found, *dptr; | ^~~~ -
DBio.c:544:12: warning: unused variable ‘plane’ [-Wunused-variable] 544 | Plane *plane; | ^~~~~ -
DBio.c:538:22: warning: unused variable ‘ptable’ [-Wunused-variable] 538 | PaintResultType *ptable; | ^~~~~~ -
DBio.c:1148:17: warning: unused variable ‘n’ [-Wunused-variable] 1148 | int n = snprintf(tempname, sizeof(tempname), "%s%s%s", tempdir, | ^ -
DBio.c:1246:10: warning: unused variable ‘result’ [-Wunused-variable] 1246 | bool result = TRUE; | ^~~~~~ -
DBio.c:1461:33: warning: unused variable ‘savename’ [-Wunused-variable] 1461 | char *filename, *realname, *savename; | ^~~~~~~~ -
DBio.c:2004:21: warning: unused variable ‘n’ [-Wunused-variable] 2004 | int n = snprintf(path, sizeof(path), "%s/%s", cellDef->cd_file, savepath); | ^ -
DBio.c:2129:33: warning: unused variable ‘n’ [-Wunused-variable] 2129 | int n = snprintf(argstr, sizeof(argstr), "-C %s", pathptr); | ^ -
DBio.c:2107:34: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable=] 2107 | int link[2], nbytes, status; | ^~~~~~ -
DBio.c:2709:30: warning: variable ‘result’ set but not used [-Wunused-but-set-variable=] 2709 | long result; | ^~~~~~ -
DBio.c:2766:31: warning: variable ‘result’ set but not used [-Wunused-but-set-variable=] 2766 | dlong result; | ^~~~~~ -
DBio.c:2823:30: warning: variable ‘result’ set but not used [-Wunused-but-set-variable=] 2823 | long result; | ^~~~~~ -
DBio.c:2410:11: warning: unused variable ‘storedvalue’ [-Wunused-variable] 2410 | char *storedvalue, *pvalueptr; | ^~~~~~~~~~~ -
DBio.c:3900:15: warning: unused variable ‘useList’ [-Wunused-variable] 3900 | CellUse **useList; | ^~~~~~~ -
DBio.c:3899:10: warning: unused variable ‘propfound’ [-Wunused-variable] 3899 | bool propfound; | ^~~~~~~~~ -
DBio.c:3898:11: warning: unused variable ‘propvalue’ [-Wunused-variable] 3898 | char *propvalue; | ^~~~~~~~~ -
DBio.c:4348:11: warning: unused variable ‘dotptr’ [-Wunused-variable] 4348 | char *dotptr; | ^~~~~~ -
DBio.c:4571:30: warning: unused variable ‘rMask’ [-Wunused-variable] 4571 | TileTypeBitMask *lMask, *rMask; | ^~~~~ -
DBio.c:4571:22: warning: unused variable ‘lMask’ [-Wunused-variable] 4571 | TileTypeBitMask *lMask, *rMask; | ^~~~~ -
DBio.c:4566:10: warning: unused variable ‘pstring’ [-Wunused-variable] 4566 | char pstring[256]; | ^~~~~~~ -
DBio.c:3641:1: warning: control reaches end of non-void function [-Wreturn-type] 3641 | } | ^ -
DBio.c:5033:20: warning: ignoring return value of ‘truncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5033 | (void) truncate(expandname, (long) statb.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DBio.c:5062:20: warning: ignoring return value of ‘truncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5062 | (void) truncate(expandname, (long) statb.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DBio.c:173:1: warning: ‘path_is_dir’ defined but not used [-Wunused-function] 173 | path_is_dir(const char *dirname, const char *filename) | ^~~~~~~~~~~ -
DBio.c:5200:13: warning: ‘dir’ may be used uninitialized [-Wmaybe-uninitialized] 5200 | dir |= SplitDirection(tile);
-
DBlabel.c:1359:19: warning: unused variable ‘size’ [-Wunused-variable] 1359 | int i, ysave, size; | ^~~~ -
DBlabel.c:1358:15: warning: unused variable ‘labTransform’ [-Wunused-variable] 1358 | Transform labTransform = GeoIdentityTransform; | ^~~~~~~~~~~~ -
DBlabel.c:1605:18: warning: unused variable ‘y’ [-Wunused-variable] 1605 | int i, j, x, y, asciiidx, chardef, numidx; | ^ -
DBlabel.c:1605:15: warning: unused variable ‘x’ [-Wunused-variable] 1605 | int i, j, x, y, asciiidx, chardef, numidx; | ^ -
DBpaint.c:743:28: warning: unused variable ‘tp’ [-Wunused-variable] 743 | Tile *tile, *newtile, *tp; | ^~ -
DBpaint.c:804:11: warning: unused variable ‘tp’ [-Wunused-variable] 804 | Tile *tp; /* Used for paint */ | ^~ -
DBpaint.c:1506:18: warning: unused variable ‘arg’ [-Wunused-variable] 1506 | TileRect arg; | ^~~ -
DBtcontact.c:219:27: warning: unused variable ‘primary’ [-Wunused-variable] 219 | char *primary; | ^~~~~~~ -
DBtcontact.c:829:15: warning: unused variable ‘pmask’ [-Wunused-variable] 829 | PlaneMask pmask; | ^~~~~ -
DBtechname.c:158:16: warning: unused variable ‘lp’ [-Wunused-variable] 158 | LayerInfo *lp; | ^~ -
DBtpaint2.c:740:9: warning: unused variable ‘m’ [-Wunused-variable] 740 | int m, pNum; | ^ -
DBtpaint2.c:738:27: warning: unused variable ‘eresult’ [-Wunused-variable] 738 | TileType c, n, itype, eresult; | ^~~~~~~ -
DBtpaint2.c:738:20: warning: unused variable ‘itype’ [-Wunused-variable] 738 | TileType c, n, itype, eresult; | ^~~~~ -
DBtpaint2.c:738:14: warning: unused variable ‘c’ [-Wunused-variable] 738 | TileType c, n, itype, eresult; | ^ -
DBtpaint2.c:737:16: warning: unused variable ‘lpImage’ [-Wunused-variable] 737 | LayerInfo *lpImage, *lpPaint; | ^~~~~~~ -
DBtpaint2.c:783:12: warning: unused variable ‘pNum’ [-Wunused-variable] 783 | int m, pNum; | ^~~~ -
DBtpaint2.c:783:9: warning: unused variable ‘m’ [-Wunused-variable] 783 | int m, pNum; | ^ -
DBtpaint2.c:782:22: warning: unused variable ‘rmask’ [-Wunused-variable] 782 | TileTypeBitMask *rmask; | ^~~~~ -
DBtpaint2.c:781:24: warning: unused variable ‘eresult’ [-Wunused-variable] 781 | TileType n, itype, eresult; | ^~~~~~~ -
DBtpaint2.c:781:17: warning: unused variable ‘itype’ [-Wunused-variable] 781 | TileType n, itype, eresult; | ^~~~~ -
DBtpaint2.c:504:24: warning: ‘itype’ may be used uninitialized [-Wmaybe-uninitialized] 504 | if (ptype != itype) | ^ -
DBtechtype.c:352:9: warning: unused variable ‘pNum’ [-Wunused-variable] 352 | int pNum; | ^~~~ -
DBtechtype.c:351:11: warning: unused variable ‘cp’ [-Wunused-variable] 351 | char *cp; | ^~ -
DBtiles.c:132:17: warning: unused variable ‘r’ [-Wunused-variable] 132 | Rect rect2, r; | ^ -
DBtiles.c:452:1: warning: label ‘enum_next’ defined but not used [-Wunused-label] 452 | enum_next: | ^~~~~~~~~ -
DBtiles.c:405:9: warning: unused variable ‘ignore_sides’ [-Wunused-variable] 405 | int ignore_sides; | ^~~~~~~~~~~~ -
DBtiles.c:404:23: warning: unused variable ‘f4’ [-Wunused-variable] 404 | dlong f1, f2, f3, f4; | ^~ -
DBtiles.c:404:19: warning: unused variable ‘f3’ [-Wunused-variable] 404 | dlong f1, f2, f3, f4; | ^~ -
DBtiles.c:404:15: warning: unused variable ‘f2’ [-Wunused-variable] 404 | dlong f1, f2, f3, f4; | ^~ -
DBtiles.c:404:11: warning: unused variable ‘f1’ [-Wunused-variable] 404 | dlong f1, f2, f3, f4; | ^~ -
DBtiles.c:403:26: warning: unused variable ‘rmax’ [-Wunused-variable] 403 | int rheight, rwidth, rmax; | ^~~~ -
DBtiles.c:403:18: warning: unused variable ‘rwidth’ [-Wunused-variable] 403 | int rheight, rwidth, rmax; | ^~~~~~ -
DBtiles.c:403:9: warning: unused variable ‘rheight’ [-Wunused-variable] 403 | int rheight, rwidth, rmax; | ^~~~~~~ -
DBtiles.c:402:14: warning: unused variable ‘tpt’ [-Wunused-variable] 402 | TileType tpt; | ^~~ -
DBtiles.c:1079:14: warning: unused variable ‘def’ [-Wunused-variable] 1079 | CellDef *def = (CellDef *)arg; | ^~~ -
DBundo.c:353:1: warning: label ‘endPaintFor’ defined but not used [-Wunused-label] 353 | endPaintFor: | ^~~~~~~~~~~ -
DBundo.c:411:1: warning: label ‘endPaintBack’ defined but not used [-Wunused-label] 411 | endPaintBack: | ^~~~~~~~~~~~ -
DBWdisplay.c:173:29: warning: unused variable ‘rmask’ [-Wunused-variable] 173 | TileTypeBitMask layers, rmask; | ^~~~~ -
DBWdisplay.c:708:9: warning: unused variable ‘result’ [-Wunused-variable] 708 | int result; | ^~~~~~ -
DBWdisplay.c:796:12: warning: unused variable ‘rads’ [-Wunused-variable] 796 | double rads; | ^~~~ -
DBWdisplay.c:936:20: warning: unused variable ‘screenRot’ [-Wunused-variable] 936 | int screenPos, screenRot, newStyle; | ^~~~~~~~~ -
DBWelement.c:502:14: warning: variable ‘windowRoot’ set but not used [-Wunused-but-set-variable=] 502 | CellDef *windowRoot; | ^~~~~~~~~~ -
DBWelement.c:573:14: warning: unused variable ‘currentRoot’ [-Wunused-variable] 573 | CellDef *currentRoot; | ^~~~~~~~~~~ -
DBWelement.c:678:9: warning: unused variable ‘sqdist’ [-Wunused-variable] 678 | int sqdist; | ^~~~~~ -
DBWelement.c:1213:10: warning: unused variable ‘prect’ [-Wunused-variable] 1213 | Rect prect; | ^~~~~ -
DBWfdback.c:282:9: warning: unused variable ‘i’ [-Wunused-variable] 282 | int i, oldCount; | ^ -
DBWfdback.c:195:11: warning: ‘halfScale’ may be used uninitialized [-Wmaybe-uninitialized] 195 | y = ((dlong)(tmp.r_ytop - worldArea.r_ybot) * window->w_scale) + halfScale; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
DBWhlights.c:245:14: warning: unused variable ‘needErase’ [-Wunused-variable] 245 | bool needErase = TRUE; | ^~~~~~~~~ -
DBWprocs.c:297:10: warning: unused variable ‘isUnnamed’ [-Wunused-variable] 297 | bool isUnnamed; | ^~~~~~~~~ -
DBWprocs.c:293:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable=] 293 | int res, newEdit, error_val; | ^~~ -
DBWprocs.c:988:9: warning: unused variable ‘cmdNum’ [-Wunused-variable] 988 | int cmdNum; | ^~~~~~ -
DBWprocs.c:1092:9: warning: unused variable ‘i’ [-Wunused-variable] 1092 | int i; | ^ -
DBWprocs.c:1091:16: warning: variable ‘initialWindow’ set but not used [-Wunused-but-set-variable=] 1091 | MagWindow *initialWindow; | ^~~~~~~~~~~~~ -
DRCarray.c:116:23: warning: unused variable ‘savedEraseTable’ [-Wunused-variable] 116 | PaintResultType (*savedEraseTable)[NT][NT]; | ^~~~~~~~~~~~~~~ -
DRCarray.c:112:9: warning: variable ‘drcArrayCount’ set but not used [-Wunused-but-set-variable=] 112 | int drcArrayCount; /* Count of number of errors found. */ | ^~~~~~~~~~~~~ -
DRCarray.c:108:42: warning: unused variable ‘saveClip’ [-Wunused-variable] 108 | Rect errorArea, yankArea, tmp, tmp2, saveClip; | ^~~~~~~~ -
DRCarray.c:107:9: warning: unused variable ‘rval’ [-Wunused-variable] 107 | int rval, oldTiles; | ^~~~ -
DRCbasic.c:217:22: warning: unused variable ‘i’ [-Wunused-variable] 217 | unsigned int i; | ^ -
DRCbasic.c:633:32: warning: unused variable ‘dsplit’ [-Wunused-variable] 633 | TileType newdinfo, dsplit; | ^~~~~~ -
DRCbasic.c:613:21: warning: unused variable ‘deltay’ [-Wunused-variable] 613 | int deltax, deltay; | ^~~~~~ -
DRCbasic.c:613:13: warning: unused variable ‘deltax’ [-Wunused-variable] 613 | int deltax, deltay; | ^~~~~~ -
DRCbasic.c:569:30: warning: variable ‘result’ set but not used [-Wunused-but-set-variable=] 569 | int cdist, dist, ccdist, result; | ^~~~~~ -
DRCbasic.c:569:22: warning: unused variable ‘ccdist’ [-Wunused-variable] 569 | int cdist, dist, ccdist, result; | ^~~~~~ -
DRCbasic.c:565:31: warning: unused variable ‘rMask’ [-Wunused-variable] 565 | TileTypeBitMask tmpMask, *rMask; | ^~~~~ -
DRCbasic.c:584:25: warning: storing the address of local variable ‘errRect’ in ‘arg_1599(D)->dCD_constraint’ [-Wdangling-pointer=] 584 | arg->dCD_constraint = &errRect; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
DRCcif.c:189:32: warning: unused variable ‘tmp1’ [-Wunused-variable] 189 | TileTypeBitMask set, setC, tmp1; | ^~~~ -
DRCcif.c:189:26: warning: unused variable ‘setC’ [-Wunused-variable] 189 | TileTypeBitMask set, setC, tmp1; | ^~~~ -
DRCcif.c:189:21: warning: unused variable ‘set’ [-Wunused-variable] 189 | TileTypeBitMask set, setC, tmp1; | ^~~ -
DRCcif.c:250:17: warning: unused variable ‘j’ [-Wunused-variable] 250 | TileType i, j; | ^ -
DRCcif.c:574:34: warning: unused variable ‘mask’ [-Wunused-variable] 574 | TileTypeBitMask *mask; | ^~~~ -
DRCcif.c:1078:22: warning: unused variable ‘i’ [-Wunused-variable] 1078 | unsigned int i; | ^ -
DRCcif.c:1188:9: warning: unused variable ‘plane’ [-Wunused-variable] 1188 | int plane; | ^~~~~ -
DRCcif.c:1187:17: warning: unused variable ‘j’ [-Wunused-variable] 1187 | TileType i, j; | ^ -
DRCcif.c:1185:32: warning: unused variable ‘tmp1’ [-Wunused-variable] 1185 | TileTypeBitMask set, setC, tmp1; | ^~~~ -
DRCcif.c:1185:26: warning: unused variable ‘setC’ [-Wunused-variable] 1185 | TileTypeBitMask set, setC, tmp1; | ^~~~ -
DRCcif.c:1185:21: warning: unused variable ‘set’ [-Wunused-variable] 1185 | TileTypeBitMask set, setC, tmp1; | ^~~ -
DRCcif.c:1249:9: warning: unused variable ‘plane’ [-Wunused-variable] 1249 | int plane; | ^~~~~ -
DRCcif.c:1248:17: warning: unused variable ‘j’ [-Wunused-variable] 1248 | TileType i, j; | ^ -
DRCcif.c:1246:32: warning: unused variable ‘tmp1’ [-Wunused-variable] 1246 | TileTypeBitMask set, setC, tmp1; | ^~~~ -
DRCcif.c:1246:26: warning: unused variable ‘setC’ [-Wunused-variable] 1246 | TileTypeBitMask set, setC, tmp1; | ^~~~ -
DRCcif.c:1246:21: warning: unused variable ‘set’ [-Wunused-variable] 1246 | TileTypeBitMask set, setC, tmp1; | ^~~ -
DRCcontin.c:196:30: warning: unused variable ‘pback’ [-Wunused-variable] 196 | DRCPendingCookie * p, ** pback; /* Used to insert new element in list | ^~~~~ -
DRCcontin.c:568:1: warning: label ‘checkDone’ defined but not used [-Wunused-label] 568 | checkDone: | ^~~~~~~~~ -
DRCmain.c:189:11: warning: unused variable ‘value’ [-Wunused-variable] 189 | float value; | ^~~~~ -
DRCmain.c:291:16: warning: unused variable ‘h’ [-Wunused-variable] 291 | HashEntry *h; | ^ -
DRCmain.c:352:16: warning: unused variable ‘h’ [-Wunused-variable] 352 | HashEntry *h; | ^ -
DRCmain.c:587:12: warning: unused variable ‘nerrors’ [-Wunused-variable] 587 | int i, nerrors; | ^~~~~~~ -
DRCmain.c:881:20: warning: unused variable ‘def’ [-Wunused-variable] 881 | CellDef *def; | ^~~ -
DRCmain.c:258:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-truncation] 258 | strncpy(wptr, whyptr, strlen(whyptr) + 1); | ^ -
DRCsubcell.c:466:14: warning: unused variable ‘subIntArea’ [-Wunused-variable] 466 | Rect subIntArea, subSearchArea; | ^~~~~~~~~~ -
DRCtech.c:289:11: warning: unused variable ‘old’ [-Wunused-variable] 289 | char *old; | ^~~ -
DRCtech.c:554:11: warning: unused variable ‘stylename’ [-Wunused-variable] 554 | char *stylename; | ^~~~~~~~~ -
DRCtech.c:2006:11: warning: unused variable ‘adjacency’ [-Wunused-variable] 2006 | char *adjacency = argv[4]; | ^~~~~~~~~ -
DRCtech.c:2113:10: warning: unused variable ‘cornerok’ [-Wunused-variable] 2113 | bool cornerok = FALSE; | ^~~~~~~~ -
DRCtech.c:2110:20: warning: unused variable ‘pref’ [-Wunused-variable] 2110 | TileType i, j, pref; | ^~~~ -
DRCtech.c:2107:21: warning: unused variable ‘ptest’ [-Wunused-variable] 2107 | PlaneMask pset, ptest; | ^~~~~ -
DRCtech.c:3745:9: warning: unused variable ‘i’ [-Wunused-variable] 3745 | int i; | ^ -
DRCtech.c:3763:9: warning: unused variable ‘i’ [-Wunused-variable] 3763 | int i; | ^ -
DRCtech.c:3889:15: warning: unused variable ‘ds’ [-Wunused-variable] 3889 | DRCStyle *ds; | ^~ -
DRCtech.c:4000:9: warning: variable ‘dist’ set but not used [-Wunused-but-set-variable=] 4000 | int dist; | ^~~~ -
DRCtech.c:4407:17: warning: unused variable ‘j’ [-Wunused-variable] 4407 | TileType i, j; | ^ -
DRCtech.c:4407:14: warning: unused variable ‘i’ [-Wunused-variable] 4407 | TileType i, j; | ^ -
DRCtech.c:4406:17: warning: unused variable ‘dp’ [-Wunused-variable] 4406 | DRCCookie *dp; | ^~ -
DRCtech.c:4676:28: warning: unused variable ‘cset’ [-Wunused-variable] 4676 | TileTypeBitMask *set, *cset; | ^~~~ -
DRCtech.c:4675:23: warning: variable ‘cnext’ set but not used [-Wunused-but-set-variable=] 4675 | DRCCookie *cptr, *cnext; | ^~~~~ -
DRCtech.c:73:12: warning: ‘DRCtag’ defined but not used [-Wunused-variable] 73 | static int DRCtag = 0; | ^~~~~~ -
DRCprint.c:172:23: warning: unused variable ‘drcName’ [-Wunused-variable] 172 | char buffer[20], *drcName; | ^~~~~~~ -
DRCextend.c:521:28: warning: unused variable ‘tp’ [-Wunused-variable] 521 | Tile *tile,*tp; | ^~ -
DRCextend.c:521:22: warning: unused variable ‘tile’ [-Wunused-variable] 521 | Tile *tile,*tp; | ^~~~ -
EFbuild.c:171:21: warning: unused variable ‘nn’ [-Wunused-variable] 171 | EFNodeName *nn, *knn, *nodeAlias, *lastAlias; | ^~ -
EFbuild.c:686:28: warning: unused variable ‘node2’ [-Wunused-variable] 686 | struct efnode *node2 = nn2->efnn_node; | ^~~~~ -
EFbuild.c:685:28: warning: unused variable ‘node1’ [-Wunused-variable] 685 | struct efnode *node1 = nn1->efnn_node; | ^~~~~ -
EFbuild.c:903:15: warning: unused variable ‘perim’ [-Wunused-variable] 903 | int area, perim; /* Total area, perimeter of primary type (i.e., channel) */ | ^~~~~ -
EFbuild.c:903:9: warning: unused variable ‘area’ [-Wunused-variable] 903 | int area, perim; /* Total area, perimeter of primary type (i.e., channel) */ | ^~~~ -
EFbuild.c:898:10: warning: unused variable ‘ptype’ [-Wunused-variable] 898 | char ptype, *pptr, **av; | ^~~~~ -
EFbuild.c:2240:34: warning: unused variable ‘bestname’ [-Wunused-variable] 2240 | bool topportk, topportr, bestname, swapnames; | ^~~~~~~~ -
EFbuild.c:2370:5: warning: ‘/*’ within comment [-Wcomment] 2370 | /* If EFSaveLocs is set, then merge any disjoint segments from
-
EFbuild.c:2418:17: warning: unused variable ‘nn’ [-Wunused-variable] 2418 | EFNodeName *nn; | ^~ -
EFbuild.c:2417:15: warning: unused variable ‘hn’ [-Wunused-variable] 2417 | HierName *hn; | ^~ -
EFdef.c:106:10: warning: unused variable ‘use’ [-Wunused-variable] 106 | Use *use; | ^~~ -
EFdef.c:101:17: warning: unused variable ‘conn’ [-Wunused-variable] 101 | Connection *conn; | ^~~~ -
EFflat.c:188:10: warning: unused variable ‘use’ [-Wunused-variable] 188 | Use *use; | ^~~ -
EFflat.c:187:19: warning: unused variable ‘savecount’ [-Wunused-variable] 187 | int usecount, savecount; | ^~~~~~~~~ -
EFflat.c:411:10: warning: unused variable ‘use’ [-Wunused-variable] 411 | Use *use; | ^~~ -
EFflat.c:669:10: warning: unused variable ‘doHier’ [-Wunused-variable] 669 | bool doHier = (flags & FLATNODE_HIER) ? TRUE : FALSE; | ^~~~~~ -
EFflat.c:984:10: warning: unused variable ‘use’ [-Wunused-variable] 984 | Use *use; | ^~~ -
EFhier.c:397:10: warning: unused variable ‘def’ [-Wunused-variable] 397 | Def *def = hc->hc_use->use_def; | ^~~ -
EFhier.c:633:9: warning: unused variable ‘scale’ [-Wunused-variable] 633 | int scale; | ^~~~~ -
EFhier.c:632:15: warning: unused variable ‘t’ [-Wunused-variable] 632 | Transform t; | ^ -
EFhier.c:749:15: warning: variable ‘hierName’ set but not used [-Wunused-but-set-variable=] 749 | HierName *hierName; | ^~~~~~~~ -
EFhier.c:745:10: warning: unused variable ‘def’ [-Wunused-variable] 745 | Def *def = hc->hc_use->use_def; | ^~~ -
EFname.c:232:9: warning: unused variable ‘len’ [-Wunused-variable] 232 | int len; | ^~~ -
EFname.c:228:16: warning: unused variable ‘he’ [-Wunused-variable] 228 | HashEntry *he; | ^~ -
EFname.c:367:26: warning: unused variable ‘hn’ [-Wunused-variable] 367 | HierName *hierName, *hn; | ^~ -
EFname.c:526:32: warning: ‘strlen’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 526 | last2 = hierName2->hn_name[strlen(hierName2->hn_name) - 1]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -
EFread.c:145:44: warning: variable ‘attrs’ set but not used [-Wunused-but-set-variable=] 145 | char *line = NULL, *argv[128], *name, *attrs; | ^~~~~ -
EFread.c:144:13: warning: unused variable ‘node’ [-Wunused-variable] 144 | EFNode *node; | ^~~~ -
EFread.c:743:17: warning: unused variable ‘i’ [-Wunused-variable] 743 | int i; | ^ -
EFantenna.c:173:1: warning: label ‘usage’ defined but not used [-Wunused-label] 173 | usage: | ^~~~~ -
EFantenna.c:143:11: warning: unused variable ‘sub_rclass’ [-Wunused-variable] 143 | short sub_rclass; | ^~~~~~~~~~ -
EFantenna.c:142:11: warning: unused variable ‘sd_rclass’ [-Wunused-variable] 142 | short sd_rclass; | ^~~~~~~~~ -
EFantenna.c:136:9: warning: unused variable ‘value’ [-Wunused-variable] 136 | int value; | ^~~~~ -
EFantenna.c:133:14: warning: unused variable ‘t’ [-Wunused-variable] 133 | TileType t; | ^ -
EFantenna.c:132:11: warning: unused variable ‘f’ [-Wunused-variable] 132 | FILE *f; | ^ -
EFantenna.c:298:28: warning: unused variable ‘cp’ [-Wunused-variable] 298 | char **argv = *pargv, *cp; | ^~ -
EFantenna.c:375:13: warning: unused variable ‘gaterect’ [-Wunused-variable] 375 | Rect r, gaterect; | ^~~~~~~~ -
EFantenna.c:370:42: warning: unused variable ‘total’ [-Wunused-variable] 370 | int pos, pNum, pNum2, pmax, p, i, j, total; | ^~~~~ -
EFantenna.c:506:40: warning: ‘pNum2’ may be used uninitialized [-Wmaybe-uninitialized] 506 | if (DBIsContact(i) && DBPlane(i) == pNum2) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
ExtBasic.c:368:35: warning: variable ‘subsnode’ set but not used [-Wunused-but-set-variable=] 368 | char *token, *modelname, *subsnode; | ^~~~~~~~ -
ExtBasic.c:889:11: warning: unused variable ‘subsName’ [-Wunused-variable] 889 | char *subsName; | ^~~~~~~~ -
ExtBasic.c:2295:56: warning: unused variable ‘rc’ [-Wunused-variable] 2295 | int nsd, length, width, n, i, ntiles, corners, tn, rc, termcount; | ^~ -
ExtBasic.c:2295:52: warning: unused variable ‘tn’ [-Wunused-variable] 2295 | int nsd, length, width, n, i, ntiles, corners, tn, rc, termcount; | ^~ -
ExtBasic.c:2295:43: warning: unused variable ‘corners’ [-Wunused-variable] 2295 | int nsd, length, width, n, i, ntiles, corners, tn, rc, termcount; | ^~~~~~~ -
ExtBasic.c:3402:14: warning: unused variable ‘type’ [-Wunused-variable] 3402 | TileType type; | ^~~~ -
ExtBasic.c:3550:24: warning: unused variable ‘i’ [-Wunused-variable] 3550 | int perim, result, i; | ^ -
ExtBasic.c:3550:16: warning: unused variable ‘result’ [-Wunused-variable] 3550 | int perim, result, i; | ^~~~~~ -
ExtBasic.c:3548:35: warning: unused variable ‘smask’ [-Wunused-variable] 3548 | TileTypeBitMask mask, cmask, *smask; | ^~~~~ -
ExtBasic.c:3957:18: warning: unused variable ‘perim’ [-Wunused-variable] 3957 | int i, area, perim, len = BoundaryLength(bp); | ^~~~~ -
ExtBasic.c:3957:12: warning: unused variable ‘area’ [-Wunused-variable] 3957 | int i, area, perim, len = BoundaryLength(bp); | ^~~~ -
ExtBasic.c:5600:1: warning: label ‘topside’ defined but not used [-Wunused-label] 5600 | topside: | ^~~~~~~ -
ExtBasic.c:21:13: warning: ‘sccsid’ defined but not used [-Wunused-variable] 21 | static char sccsid[] = "@(#)ExtBasic.c 4.13 MAGIC (Berkeley) 12/5/85"; | ^~~~~~ -
../database/database.h:1283:48: warning: ‘tinside’ may be used uninitialized [-Wmaybe-uninitialized] 1283 | #define DBPlane(type) (DBTypePlaneTbl[type]) | ^ -
ExtBasic.c:4422:16: warning: ‘toutside’ may be used uninitialized [-Wmaybe-uninitialized] 4422 | if (toutside != TT_SPACE) TTMaskClearType(&mmask, TT_SPACE); | ^ -
ExtBasic.c:1034:67: warning: ‘%s’ directive writing up to 511 bytes into a region of size 459 [-Wformat-overflow=] 1034 | "Label \"%s\" attached to more than one unconnected node: %s"; | ^~ -
ExtBasic.c:4014:35: warning: ‘dinfo’ may be used uninitialized [-Wmaybe-uninitialized] 4014 | termNode = (NodeRegion *) ExtGetRegion(tile, dinfo); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
ExtBasic.c:4039:16: warning: ‘toutside’ may be used uninitialized [-Wmaybe-uninitialized] 4039 | if (toutside == TT_SPACE) break; | ^ -
ExtCouple.c:545:22: warning: unused variable ‘cp’ [-Wunused-variable] 545 | CapValue cp; | ^~ -
ExtCouple.c:544:17: warning: unused variable ‘len’ [-Wunused-variable] 544 | int len; | ^~~ -
ExtCouple.c:543:30: warning: unused variable ‘mask’ [-Wunused-variable] 543 | TileTypeBitMask *mask; | ^~~~ -
ExtCouple.c:542:25: warning: unused variable ‘tres’ [-Wunused-variable] 542 | TileType t, tres; | ^~~~ -
ExtCouple.c:542:22: warning: unused variable ‘t’ [-Wunused-variable] 542 | TileType t, tres; | ^ -
ExtCouple.c:541:19: warning: unused variable ‘tp’ [-Wunused-variable] 541 | Tile *tp; | ^~ -
ExtCouple.c:1111:15: warning: unused variable ‘pMask’ [-Wunused-variable] 1111 | PlaneMask pMask; | ^~~~~ -
ExtCouple.c:1110:9: warning: unused variable ‘pNum’ [-Wunused-variable] 1110 | int pNum; | ^~~~ -
ExtCouple.c:1259:19: warning: unused variable ‘cfrac’ [-Wunused-variable] 1259 | double snear, cfrac; | ^~~~~ -
ExtCouple.c:1409:26: warning: unused variable ‘afrac’ [-Wunused-variable] 1409 | double cfrac, sfrac, afrac, mult, efflength; | ^~~~~ -
ExtCouple.c:1404:10: warning: unused variable ‘tpr’ [-Wunused-variable] 1404 | Rect tpr; | ^~~ -
ExtCouple.c:1640:12: warning: variable ‘afrac’ set but not used [-Wunused-but-set-variable=] 1640 | double afrac; | ^~~~~ -
ExtCouple.c:1635:10: warning: unused variable ‘tpr’ [-Wunused-variable] 1635 | Rect tpr; | ^~~ -
ExtCouple.c:716:8: warning: ‘dnear’ may be used uninitialized [-Wmaybe-uninitialized] 716 | if (dnear < 0) dnear = 0; /* Don't count underlap */ | ^ -
ExtCouple.c:719:21: warning: ‘dfar’ may be used uninitialized [-Wmaybe-uninitialized] 719 | sfar = 0.6366 * atan(mult * dfar); | ^~~~~~~~~~~~~~~~~ -
ExtCouple.c:1467:21: warning: ‘dfar’ may be used uninitialized [-Wmaybe-uninitialized] 1467 | sfar = 0.6366 * atan(mult * dfar); | ^~~~~~~~~~~~~~~~~ -
ExtCouple.c:1465:8: warning: ‘dnear’ may be used uninitialized [-Wmaybe-uninitialized] 1465 | if (dnear < 0) dnear = 0; /* Don't count underlap */ | ^ -
ExtCouple.c:916:11: warning: ‘loctout’ may be used uninitialized [-Wmaybe-uninitialized] 916 | *tout = loctout; | ~~~~~~^~~~~~~~~ -
ExtCouple.c:915:10: warning: ‘loctin’ may be used uninitialized [-Wmaybe-uninitialized] 915 | *tin = loctin; | ~~~~~^~~~~~~~ -
ExtCouple.c:990:11: warning: ‘loctout’ may be used uninitialized [-Wmaybe-uninitialized] 990 | *tout = loctout; | ~~~~~~^~~~~~~~~ -
ExtCouple.c:989:10: warning: ‘loctin’ may be used uninitialized [-Wmaybe-uninitialized] 989 | *tin = loctin; | ~~~~~^~~~~~~~ -
ExtCouple.c:1071:14: warning: ‘locrout’ may be used uninitialized [-Wmaybe-uninitialized] 1071 | *routptr = locrout; | ~~~~~~~~~^~~~~~~~~ -
ExtCouple.c:1070:13: warning: ‘locrin’ may be used uninitialized [-Wmaybe-uninitialized] 1070 | *rinptr = locrin; | ~~~~~~~~^~~~~~~~ -
ExtCouple.c:1293:8: warning: ‘dnear’ may be used uninitialized [-Wmaybe-uninitialized] 1293 | if (dnear < 0) dnear = 0; /* Don't count underlap */ | ^ -
ExtHard.c:425:11: warning: unused variable ‘p’ [-Wunused-variable] 425 | Point p; | ^ -
ExtHier.c:422:18: warning: variable ‘cumDef’ set but not used [-Wunused-but-set-variable=] 422 | CellDef *cumDef; | ^~~~~~ -
ExtHier.c:471:14: warning: unused variable ‘n’ [-Wunused-variable] 471 | unsigned n; | ^ -
ExtHier.c:469:18: warning: unused variable ‘newlab’ [-Wunused-variable] 469 | Label *lab, *newlab; | ^~~~~~ -
ExtHier.c:468:14: warning: unused variable ‘rtype’ [-Wunused-variable] 468 | TileType rtype; | ^~~~~ -
ExtHier.c:827:39: warning: ‘newport’ may be used uninitialized [-Wmaybe-uninitialized] 827 | node1->node_ports = newport; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~ -
ExtMain.c:975:10: warning: variable ‘doLocal’ set but not used [-Wunused-but-set-variable=] 975 | bool doLocal; | ^~~~~~~ -
ExtNghbors.c:131:1: warning: label ‘topside’ defined but not used [-Wunused-label] 131 | topside: | ^~~~~~~ -
ExtPerim.c:110:18: warning: unused variable ‘itype’ [-Wunused-variable] 110 | TileType itype = (dinfo & TT_SIDE) ? SplitRightType(tpIn): SplitLeftType(tpIn); | ^~~~~ -
ExtRegion.c:269:14: warning: unused variable ‘extSubType’ [-Wunused-variable] 269 | TileType extSubType = 0; | ^~~~~~~~~~ -
ExtSubtree.c:495:17: warning: unused variable ‘reg’ [-Wunused-variable] 495 | NodeRegion *reg; | ^~~ -
ExtSubtree.c:1130:14: warning: variable ‘ttype’ set but not used [-Wunused-but-set-variable=] 1130 | TileType ttype; | ^~~~~ -
ExtSubtree.c:1128:12: warning: unused variable ‘lab’ [-Wunused-variable] 1128 | Label *lab; | ^~~ -
ExtTech.c:546:14: warning: unused variable ‘ttype’ [-Wunused-variable] 546 | TileType ttype; | ^~~~~ -
ExtTech.c:811:14: warning: unused variable ‘r’ [-Wunused-variable] 811 | TileType r; | ^ -
ExtTech.c:1120:9: warning: unused variable ‘r’ [-Wunused-variable] 1120 | int r; | ^ -
ExtTech.c:1188:11: warning: unused variable ‘multVal’ [-Wunused-variable] 1188 | float multVal; | ^~~~~~~ -
ExtTech.c:2008:9: warning: unused variable ‘refcnt’ [-Wunused-variable] 2008 | int refcnt; | ^~~~~~ -
ExtTech.c:1994:21: warning: unused variable ‘size’ [-Wunused-variable] 1994 | int n, l, i, j, size, val, p1, p2, p3, nterm, iterm, class; | ^~~~ -
ExtTech.c:3545:15: warning: unused variable ‘es’ [-Wunused-variable] 3545 | ExtStyle *es; | ^~ -
ExtTech.c:22:13: warning: ‘sccsid’ defined but not used [-Wunused-variable] 22 | static char sccsid[] = "@(#)ExtTech.c 4.8 MAGIC (Berkeley) 10/26/85"; | ^~~~~~ -
ExtTech.c:390:8: warning: ‘devptr’ may be used uninitialized [-Wmaybe-uninitialized] 390 | if (devptr == NULL) | ^ -
ExtTech.c:396:33: warning: ‘locdname’ may be used uninitialized [-Wmaybe-uninitialized] 396 | if (devnameptr) *devnameptr = locdname; | ~~~~~~~~~~~~^~~~~~~~~~ -
ExtTech.c:422:28: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized] 422 | *d_rclassptr = (short)n; | ^~~~~~~~ -
ExtTech.c:2892:48: warning: ‘nterm’ may be used uninitialized [-Wmaybe-uninitialized] 2892 | devptr->exts_deviceSDCount = nterm; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
ExtTech.c:3015:64: warning: ‘areaType’ may be used uninitialized [-Wmaybe-uninitialized] 3015 | ExtCurStyle->exts_antennaRatio[t].areaType = areaType; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
ExtTest.c:121:18: warning: unused variable ‘name’ [-Wunused-variable] 121 | char *addr, *name; | ^~~~ -
ExtTest.c:121:11: warning: unused variable ‘addr’ [-Wunused-variable] 121 | char *addr, *name; | ^~~~ -
ExtTimes.c:789:22: warning: unused variable ‘i’ [-Wunused-variable] 789 | int secs, usecs, i; | ^ -
ExtTimes.c:789:15: warning: unused variable ‘usecs’ [-Wunused-variable] 789 | int secs, usecs, i; | ^~~~~ -
ExtTimes.c:789:9: warning: unused variable ‘secs’ [-Wunused-variable] 789 | int secs, usecs, i; | ^~~~ -
ExtUnique.c:212:74: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 960 [-Wformat-overflow=] 212 | "Non-global label \"%s\" attached to more than one unconnected node: %s"; | ^~ -
grDStyle.c:208:28: warning: unused variable ‘sstyle’ [-Wunused-variable] 208 | dstylelink *newstyle, *sstyle; | ^~~~~~ -
grDStyle.c:485:25: warning: unused variable ‘locbitplanes’ [-Wunused-variable] 485 | int locbitplanes; | ^~~~~~~~~~~~ -
grDStyle.c:556:17: warning: ‘section’ may be used uninitialized [-Wmaybe-uninitialized] 556 | switch (section) | ^~~~~~ -
grText.c:60:11: warning: unused variable ‘pstart’ [-Wunused-variable] 60 | Point pstart; | ^~~~~~ -
grText.c:372:18: warning: ‘xoffset’ may be used uninitialized [-Wmaybe-uninitialized] 372 | area->r_xtop += xoffset; | ^~ -
grText.c:374:18: warning: ‘yoffset’ may be used uninitialized [-Wmaybe-uninitialized] 374 | area->r_ytop += yoffset; | ^~ -
grClip.c:581:17: warning: unused variable ‘curseg’ [-Wunused-variable] 581 | LinkedRect *curseg; | ^~~~~~ -
grClip.c:780:33: warning: unused variable ‘simpleBox’ [-Wunused-variable] 780 | bool needClip, needObscure, simpleBox; | ^~~~~~~~~ -
grNull.c:103:1: warning: ‘nullReturnFalseI’ defined but not used [-Wunused-function] 103 | nullReturnFalseI(int a) | ^~~~~~~~~~~~~~~~ -
grTk1.c:352:17: warning: unused variable ‘grvisual_info’ [-Wunused-variable] 352 | XVisualInfo grvisual_info, *grvisual_get, grtemplate; | ^~~~~~~~~~~~~ -
grTk1.c:679:9: warning: unused variable ‘i’ [-Wunused-variable] 679 | int i; | ^ -
grTk1.c:797:29: warning: unused variable ‘outChannel’ [-Wunused-variable] 797 | Tcl_Channel outChannel = Tcl_GetStdChannel(TCL_STDOUT); | ^~~~~~~~~~ -
grTk1.c:1227:11: warning: unused variable ‘f’ [-Wunused-variable] 1227 | FILE* f; | ^ -
grTk1.c:1226:11: warning: unused variable ‘fullname’ [-Wunused-variable] 1226 | char *fullname; | ^~~~~~~~ -
grTk1.c:1225:11: warning: unused variable ‘planecount’ [-Wunused-variable] 1225 | char *planecount; | ^~~~~~~~~~ -
grTk1.c:1729:17: warning: unused variable ‘tkwind’ [-Wunused-variable] 1729 | Tk_Window tkwind = grCurrent.window; | ^~~~~~ -
grTk1.c:576:17: warning: ‘grcolorCount’ may be used uninitialized [-Wmaybe-uninitialized] 576 | int usableColors = actualColors - color_reserved; | ^~~~~~~~~~~~ -
grTk1.c:598:37: warning: ‘color_base’ may be used uninitialized [-Wmaybe-uninitialized] 598 | grDisplay.basepixel = color_base; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
grTk1.c:576:17: warning: ‘color_reserved’ may be used uninitialized [-Wmaybe-uninitialized] 576 | int usableColors = actualColors - color_reserved; | ^~~~~~~~~~~~ -
grTk1.c:785:25: warning: ‘txbutton’ may be used uninitialized [-Wmaybe-uninitialized] 785 | if (WindButtonInFrame(mw, ButtonEvent->x, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 786 | grXToMagic(ButtonEvent->y), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 787 | txbutton)) | ~~~~~~~~~ -
grTk1.c:1025:36: warning: ‘keywstate’ may be used uninitialized [-Wmaybe-uninitialized] 1025 | macroDef = MacroRetrieve(mw->w_client, keywstate, &iMacro); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
grTk3.c:332:30: warning: unused variable ‘lly’ [-Wunused-variable] 332 | int np, i, j, w, h, llx, lly, baseline; | ^~~ -
grTk3.c:332:25: warning: unused variable ‘llx’ [-Wunused-variable] 332 | int np, i, j, w, h, llx, lly, baseline; | ^~~ -
grTk3.c:330:46: warning: unused variable ‘corners’ [-Wunused-variable] 330 | Point *coffset, *tp, loffset, locoffset, corners[4], lpos; | ^~~~~~~ -
grTk3.c:412:29: warning: ‘charbbox.r_ll.p_y’ may be used uninitialized [-Wmaybe-uninitialized] 412 | h = charbbox.r_ytop - charbbox.r_ybot + 1;
-
grTk3.c:411:29: warning: ‘charbbox.r_ll.p_x’ may be used uninitialized [-Wmaybe-uninitialized] 411 | w = charbbox.r_xtop - charbbox.r_xbot + 1;
-
grTk3.c:411:29: warning: ‘charbbox.r_ur.p_x’ may be used uninitialized [-Wmaybe-uninitialized] 411 | w = charbbox.r_xtop - charbbox.r_xbot + 1;
-
grTk3.c:412:29: warning: ‘charbbox.r_ur.p_y’ may be used uninitialized [-Wmaybe-uninitialized] 412 | h = charbbox.r_ytop - charbbox.r_ybot + 1;
-
grTOGL1.c:264:10: warning: unused variable ‘rstatus’ [-Wunused-variable] 264 | bool rstatus; | ^~~~~~~ -
grTOGL1.c:554:29: warning: unused variable ‘outChannel’ [-Wunused-variable] 554 | Tcl_Channel outChannel = Tcl_GetStdChannel(TCL_STDOUT); | ^~~~~~~~~~ -
grTOGL1.c:847:22: warning: unused variable ‘result’ [-Wunused-variable] 847 | bool result, need_resize; | ^~~~~~ -
grTOGL1.c:495:12: warning: unused variable ‘wind’ [-Wunused-variable] 495 | Window wind; | ^~~~ -
grTOGL1.c:492:19: warning: unused variable ‘event’ [-Wunused-variable] 492 | TxInputEvent *event; | ^~~~~ -
grTOGL1.c:989:11: warning: unused variable ‘f’ [-Wunused-variable] 989 | FILE* f; | ^ -
grTOGL1.c:988:11: warning: unused variable ‘fullname’ [-Wunused-variable] 988 | char *fullname; | ^~~~~~~~ -
grTOGL1.c:987:11: warning: unused variable ‘planecount’ [-Wunused-variable] 987 | char *planecount; | ^~~~~~~~~~ -
grTOGL1.c:1172:14: warning: unused variable ‘result’ [-Wunused-variable] 1172 | bool result; | ^~~~~~ -
grTOGL1.c:1112:26: warning: unused variable ‘attribmask’ [-Wunused-variable] 1112 | unsigned long attribmask = CWBackPixel | CWBorderPixel | CWColormap; | ^~~~~~~~~~ -
grTOGL1.c:1372:12: warning: unused variable ‘wind’ [-Wunused-variable] 1372 | Window wind; | ^~~~ -
grTOGL1.c:542:25: warning: ‘txbutton’ may be used uninitialized [-Wmaybe-uninitialized] 542 | if (WindButtonInFrame(mw, ButtonEvent->x, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 543 | grXtransY(mw, ButtonEvent->y), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | txbutton)) | ~~~~~~~~~ -
grTOGL1.c:769:36: warning: ‘keywstate’ may be used uninitialized [-Wmaybe-uninitialized] 769 | macroDef = MacroRetrieve(mw->w_client, keywstate, &iMacro); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
grTOGL5.c:106:12: warning: ‘lastp’ may be used uninitialized [-Wmaybe-uninitialized] 106 | if (lastp != -1) glEnd(); | ^ -
grTOGL3.c:77:9: warning: variable ‘snum’ set but not used [-Wunused-but-set-variable=] 77 | int snum, low, hi, shifted; | ^~~~ -
grTOGL3.c:305:15: warning: variable ‘ybot’ set but not used [-Wunused-but-set-variable=] 305 | int xbot, ybot; | ^~~~ -
grTOGL3.c:305:9: warning: variable ‘xbot’ set but not used [-Wunused-but-set-variable=] 305 | int xbot, ybot; | ^~~~ -
grTOGL3.c:304:25: warning: variable ‘height’ set but not used [-Wunused-but-set-variable=] 304 | unsigned int width, height; | ^~~~~~ -
grTOGL3.c:304:18: warning: variable ‘width’ set but not used [-Wunused-but-set-variable=] 304 | unsigned int width, height; | ^~~~~ -
grTOGL3.c:342:29: warning: unused variable ‘RenderbufferName’ [-Wunused-variable] 342 | GLuint FramebufferName, RenderbufferName; | ^~~~~~~~~~~~~~~~ -
grTOGL3.c:342:12: warning: unused variable ‘FramebufferName’ [-Wunused-variable] 342 | GLuint FramebufferName, RenderbufferName; | ^~~~~~~~~~~~~~~ -
grTOGL3.c:404:15: warning: variable ‘xbot’ set but not used [-Wunused-but-set-variable=] 404 | int ybot, xbot; | ^~~~ -
grTOGL3.c:404:9: warning: variable ‘ybot’ set but not used [-Wunused-but-set-variable=] 404 | int ybot, xbot; | ^~~~ -
grTOGL3.c:403:25: warning: variable ‘height’ set but not used [-Wunused-but-set-variable=] 403 | unsigned int width, height; | ^~~~~~ -
grTOGL3.c:403:18: warning: variable ‘width’ set but not used [-Wunused-but-set-variable=] 403 | unsigned int width, height; | ^~~~~ -
grTOGL3.c:402:29: warning: unused variable ‘RenderbufferName’ [-Wunused-variable] 402 | GLuint FramebufferName, RenderbufferName; | ^~~~~~~~~~~~~~~~ -
grTOGL3.c:402:12: warning: unused variable ‘FramebufferName’ [-Wunused-variable] 402 | GLuint FramebufferName, RenderbufferName; | ^~~~~~~~~~~~~~~ -
grTOGL3.c:614:11: warning: unused variable ‘tmp’ [-Wunused-variable] 614 | float tmp; | ^~~ -
grTOGL3.c:613:9: warning: unused variable ‘cheight’ [-Wunused-variable] 613 | int cheight, baseline; | ^~~~~~~ -
grTOGL3.c:611:20: warning: unused variable ‘matvals’ [-Wunused-variable] 611 | GLfloat fsize, matvals[16]; | ^~~~~~~ -
grTOGL3.c:684:11: warning: unused variable ‘tscale’ [-Wunused-variable] 684 | float tscale; | ^~~~~~ -
grTOGL3.c:683:9: warning: unused variable ‘i’ [-Wunused-variable] 683 | int i; | ^ -
W3Dmain.c:656:19: warning: unused variable ‘crec’ [-Wunused-variable] 656 | W3DclientRec *crec = (W3DclientRec *) w->w_clientData; | ^~~~ -
W3Dmain.c:688:21: warning: unused variable ‘mask’ [-Wunused-variable] 688 | TileTypeBitMask mask; | ^~~~ -
W3Dmain.c:687:19: warning: unused variable ‘num_layers’ [-Wunused-variable] 687 | int lidx = 1, num_layers; | ^~~~~~~~~~ -
W3Dmain.c:687:9: warning: unused variable ‘lidx’ [-Wunused-variable] 687 | int lidx = 1, num_layers; | ^~~~ -
W3Dmain.c:686:10: warning: unused variable ‘hide’ [-Wunused-variable] 686 | bool hide = FALSE; | ^~~~ -
W3Dmain.c:776:19: warning: unused variable ‘num_layers’ [-Wunused-variable] 776 | int lidx = 1, num_layers; | ^~~~~~~~~~ -
W3Dmain.c:828:19: warning: unused variable ‘crec’ [-Wunused-variable] 828 | W3DclientRec *crec = (W3DclientRec *) w->w_clientData; | ^~~~ -
W3Dmain.c:1005:19: warning: unused variable ‘crec’ [-Wunused-variable] 1005 | W3DclientRec *crec = (W3DclientRec *) w->w_clientData; | ^~~~ -
W3Dmain.c:1253:19: warning: unused variable ‘crec’ [-Wunused-variable] 1253 | W3DclientRec *crec = (W3DclientRec *) w->w_clientData; | ^~~~ -
W3Dmain.c:1621:15: warning: variable ‘xw’ set but not used [-Wunused-but-set-variable=] 1621 | Tk_Window xw; | ^~ -
W3Dmain.c:1656:14: warning: variable ‘cellDef’ set but not used [-Wunused-but-set-variable=] 1656 | CellDef *cellDef; | ^~~~~~~ -
W3Dmain.c:1737:22: warning: unused variable ‘mask’ [-Wunused-variable] 1737 | TileTypeBitMask *mask; | ^~~~ -
W3Dmain.c:1808:9: warning: unused variable ‘cmdNum’ [-Wunused-variable] 1808 | int cmdNum; | ^~~~~~ -
grTCairo1.c:261:14: warning: unused variable ‘rstatus’ [-Wunused-variable] 261 | bool rstatus; | ^~~~~~~ -
grTCairo1.c:550:29: warning: unused variable ‘outChannel’ [-Wunused-variable] 550 | Tcl_Channel outChannel = Tcl_GetStdChannel(TCL_STDOUT); | ^~~~~~~~~~ -
grTCairo1.c:842:22: warning: unused variable ‘result’ [-Wunused-variable] 842 | bool result, need_resize; | ^~~~~~ -
grTCairo1.c:491:16: warning: unused variable ‘wind’ [-Wunused-variable] 491 | Window wind; | ^~~~ -
grTCairo1.c:488:23: warning: unused variable ‘event’ [-Wunused-variable] 488 | TxInputEvent *event; | ^~~~~ -
grTCairo1.c:996:15: warning: unused variable ‘f’ [-Wunused-variable] 996 | FILE* f; | ^ -
grTCairo1.c:995:15: warning: unused variable ‘fullname’ [-Wunused-variable] 995 | char *fullname; | ^~~~~~~~ -
grTCairo1.c:994:15: warning: unused variable ‘planecount’ [-Wunused-variable] 994 | char *planecount; | ^~~~~~~~~~ -
grTCairo1.c:1171:22: warning: unused variable ‘result’ [-Wunused-variable] 1171 | bool result; | ^~~~~~ -
grTCairo1.c:1110:30: warning: unused variable ‘attribmask’ [-Wunused-variable] 1110 | unsigned long attribmask = CWBackPixel | CWBorderPixel | CWColormap; | ^~~~~~~~~~ -
grTCairo1.c:1397:16: warning: unused variable ‘wind’ [-Wunused-variable] 1397 | Window wind; | ^~~~ -
grTCairo1.c:538:29: warning: ‘txbutton’ may be used uninitialized [-Wmaybe-uninitialized] 538 | if (WindButtonInFrame(mw, ButtonEvent->x, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 539 | grXtransY(mw, ButtonEvent->y), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 540 | txbutton)) | ~~~~~~~~~ -
grTCairo1.c:764:44: warning: ‘keywstate’ may be used uninitialized [-Wmaybe-uninitialized] 764 | macroDef = MacroRetrieve(mw->w_client, keywstate, &iMacro); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
grTCairo3.c:69:13: warning: variable ‘snum’ set but not used [-Wunused-but-set-variable=] 69 | int snum, low, hi, shifted; | ^~~~ -
grTCairo3.c:193:13: warning: unused variable ‘width’ [-Wunused-variable] 193 | int width; | ^~~~~ -
grTCairo3.c:236:12: warning: unused variable ‘gc’ [-Wunused-variable] 236 | GC gc; | ^~ -
grTCairo3.c:480:20: warning: unused variable ‘maxnp’ [-Wunused-variable] 480 | static int maxnp = 0; | ^~~~~ -
grTCairo3.c:478:17: warning: unused variable ‘nptotal’ [-Wunused-variable] 478 | int np, nptotal; | ^~~~~~~ -
grTCairo3.c:529:15: warning: unused variable ‘tmp’ [-Wunused-variable] 529 | float tmp; | ^~~ -
grTCairo3.c:528:13: warning: unused variable ‘cheight’ [-Wunused-variable] 528 | int cheight, baseline; | ^~~~~~~ -
grTCairo3.c:599:15: warning: unused variable ‘tscale’ [-Wunused-variable] 599 | float tscale; | ^~~~~~ -
grTCairo3.c:598:13: warning: unused variable ‘i’ [-Wunused-variable] 598 | int i; | ^ -
grTCairo5.c:106:20: warning: ‘lastp’ may be used uninitialized [-Wmaybe-uninitialized] 106 | if (lastp != -1) { | ^ -
grTkCommon.c:315:11: warning: unused variable ‘tkname’ [-Wunused-variable] 315 | char *tkname; | ^~~~~~ -
grTkCommon.c:908:9: warning: unused variable ‘dummy1’ [-Wunused-variable] 908 | int dummy1; | ^~~~~~ -
NMcmdAK.c:184:23: warning: ‘indx’ may be used uninitialized [-Wmaybe-uninitialized] 184 | } while (indx < 0); | ~~~~~^~~ -
NMcmdLZ.c:237:17: warning: unused variable ‘action’ [-Wunused-variable] 237 | int button, action; | ^~~~~~ -
NMmain.c:369:9: warning: unused variable ‘cmdNum’ [-Wunused-variable] 369 | int cmdNum; | ^~~~~~ -
NMnetlist.c:913:23: warning: ‘indx’ may be used uninitialized [-Wmaybe-uninitialized] 913 | } while (indx < 0); | ~~~~~^~~ -
PlowCmd.c:215:17: warning: ‘editDef’ may be used uninitialized [-Wmaybe-uninitialized] 215 | if (Plow(editDef, &editBox, &mask, dir)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PlowCmd.c:215:17: warning: ‘dir’ may be used uninitialized [-Wmaybe-uninitialized] 215 | if (Plow(editDef, &editBox, &mask, dir)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PlowJogs.c:328:13: warning: storing the address of local variable ‘newedge’ in ‘jogEdge’ [-Wdangling-pointer=] 328 | jogEdge = &newedge; | ~~~~~~~~^~~~~~~~~~ -
PlowMain.c:1709:14: warning: ‘rules’ may be used uninitialized [-Wmaybe-uninitialized] 1709 | (*rte->rte_proc)(edge, rules); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
PlowQueue.c:161:21: warning: unused variable ‘plowYankDef’ [-Wunused-variable] 161 | extern CellDef *plowYankDef; | ^~~~~~~~~~~ -
PlowRandom.c:98:12: warning: unused variable ‘savePlane’ [-Wunused-variable] 98 | Plane *savePlane; | ^~~~~~~~~ -
PlowRules1.c:816:25: warning: ‘xmove’ may be used uninitialized [-Wmaybe-uninitialized] 816 | ar->ar_mustmove = xmove; | ~~~~~~~~~~~~~~~~^~~~~~~ -
PlowRules1.c:922:25: warning: ‘xmove’ may be used uninitialized [-Wmaybe-uninitialized] 922 | ar->ar_mustmove = xmove; | ~~~~~~~~~~~~~~~~^~~~~~~ -
PlowTech.c:772:15: warning: unused variable ‘pr’ [-Wunused-variable] 772 | PlowRule *pr; | ^~ -
PlowTech.c:771:26: warning: unused variable ‘j’ [-Wunused-variable] 771 | register TileType i, j; | ^ -
PlowTech.c:771:23: warning: unused variable ‘i’ [-Wunused-variable] 771 | register TileType i, j; | ^ -
PlowTech.c:900:9: warning: variable ‘dist’ set but not used [-Wunused-but-set-variable=] 900 | int dist; | ^~~~ -
ResMain.c:151:11: warning: unused variable ‘tp’ [-Wunused-variable] 151 | Tile *tp; | ^~ -
ResMain.c:150:14: warning: unused variable ‘t’ [-Wunused-variable] 150 | TileType t, conttype; | ^ -
ResMain.c:712:19: warning: unused variable ‘tilefunc’ [-Wunused-variable] 712 | int (*tilefunc)(); | ^~~~~~~~ -
ResMain.c:711:18: warning: unused variable ‘resptr’ [-Wunused-variable] 711 | resNode *resptr; | ^~~~~~ -
ResMain.c:710:18: warning: unused variable ‘fix’ [-Wunused-variable] 710 | ResFixPoint *fix; | ^~~ -
ResMain.c:1019:22: warning: unused variable ‘rMask’ [-Wunused-variable] 1019 | TileTypeBitMask *rMask; | ^~~~~ -
ResMain.c:1187:22: warning: unused variable ‘rmask’ [-Wunused-variable] 1187 | TileTypeBitMask *rmask; | ^~~~~ -
ResMain.c:1254:26: warning: unused variable ‘fix’ [-Wunused-variable] 1254 | ResFixPoint *fix; | ^~~ -
ResMain.c:973:8: warning: ‘righttype’ may be used uninitialized [-Wmaybe-uninitialized] 973 | if (ttype != thisDev->type) | ^ -
ResMain.c:283:20: warning: ‘plane’ may be used uninitialized [-Wmaybe-uninitialized] 283 | (void) DBSrPaintArea((Tile *) NULL, plane, rect, &mask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | ResAddPortFunc, (ClientData)&dsd); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ResMain.c:505:16: warning: ‘plane’ may be used uninitialized [-Wmaybe-uninitialized] 505 | (void) DBSrPaintArea((Tile *) NULL, plane, &newsink->rc_rect, &mask, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 506 | ResAddLabelFunc, (ClientData)&rld); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ResSimple.c:418:9: warning: unused variable ‘cval’ [-Wunused-variable] 418 | int cval; | ^~~~ -
ResSimple.c:592:28: warning: ‘node1’ may be used uninitialized [-Wmaybe-uninitialized] 592 | node1->rn_float.rn_area += current->rr_float.rr_area; | ~~~~~~~~~~~~~~~^~~~~~~~ -
ResPrint.c:114:25: warning: unused variable ‘devtest’ [-Wunused-variable] 114 | ExtDevice *devptr, *devtest; | ^~~~~~~ -
ResPrint.c:407:17: warning: unused variable ‘newname’ [-Wunused-variable] 407 | char newname[16]; | ^~~~~~~ -
ResPrint.c:462:16: warning: ‘height’ may be used uninitialized [-Wmaybe-uninitialized] 462 | height *= oscale; | ~~~~~~~^~~~~~~~~ -
ResReadExt.c:136:14: warning: unused variable ‘dbdef’ [-Wunused-variable] 136 | CellDef *dbdef, *parent; | ^~~~~ -
ResReadExt.c:324:9: warning: unused variable ‘pNum’ [-Wunused-variable] 324 | int pNum; | ^~~~ -
ResReadExt.c:432:17: warning: unused variable ‘curnode’ [-Wunused-variable] 432 | ResExtNode *curnode; | ^~~~~~~ -
ResReadExt.c:431:14: warning: unused variable ‘dbdef’ [-Wunused-variable] 431 | CellDef *dbdef; | ^~~~~ -
ResReadExt.c:572:9: warning: unused variable ‘pNum’ [-Wunused-variable] 572 | int pNum; | ^~~~ -
ResReadExt.c:744:18: warning: unused variable ‘node’ [-Wunused-variable] 744 | ResExtNode *node; | ^~~~ -
ResReadExt.c:740:31: warning: unused variable ‘k’ [-Wunused-variable] 740 | int rvalue, i, j, k, w, l, n; | ^ -
ResReadExt.c:740:28: warning: unused variable ‘j’ [-Wunused-variable] 740 | int rvalue, i, j, k, w, l, n; | ^ -
ResReadExt.c:740:17: warning: unused variable ‘rvalue’ [-Wunused-variable] 740 | int rvalue, i, j, k, w, l, n; | ^~~~~~ -
ResReadExt.c:877:18: warning: unused variable ‘node’ [-Wunused-variable] 877 | ResExtNode *node; | ^~~~ -
ResReadExt.c:873:31: warning: unused variable ‘k’ [-Wunused-variable] 873 | int rvalue, i, j, k, w, l; | ^ -
ResReadExt.c:873:28: warning: unused variable ‘j’ [-Wunused-variable] 873 | int rvalue, i, j, k, w, l; | ^ -
ResReadExt.c:873:25: warning: unused variable ‘i’ [-Wunused-variable] 873 | int rvalue, i, j, k, w, l; | ^ -
ResReadExt.c:873:17: warning: unused variable ‘rvalue’ [-Wunused-variable] 873 | int rvalue, i, j, k, w, l; | ^~~~~~ -
ResReadExt.c:998:17: warning: unused variable ‘notwarned’ [-Wunused-variable] 998 | static int notwarned = TRUE; | ^~~~~~~~~ -
ResReadExt.c:489:12: warning: ‘locresult’ may be used uninitialized [-Wmaybe-uninitialized] 489 | if (locresult == 1) result = 1; | ^ -
ResReadExt.c:207:29: warning: ‘curnode’ may be used uninitialized [-Wmaybe-uninitialized] 207 | locresult = ResReadAttribute(curnode, argc, argv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ResReadExt.c:215:12: warning: ‘locresult’ may be used uninitialized [-Wmaybe-uninitialized] 215 | if (locresult == 1) result = 1; | ^ -
ResRex.c:226:41: warning: ‘/*’ within comment [-Wcomment] 226 | resisdata->frequency = 10e6; /* 10 MHz default */
-
ResRex.c:321:3: warning: typedef ‘ResOptions’ locally defined but not used [-Wunused-local-typedefs] 321 | } ResOptions; | ^~~~~~~~~~ -
ResRex.c:854:11: warning: variable ‘portloc’ set but not used [-Wunused-but-set-variable=] 854 | Point portloc; | ^~~~~~~ -
ResRex.c:1258:21: warning: unused variable ‘fp’ [-Wunused-variable] 1258 | ResFixPoint fp; | ^~ -
ResRex.c:782:25: warning: ‘saveFlags’ may be used uninitialized [-Wmaybe-uninitialized] 782 | ResOptionsFlags = saveFlags; | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
ResUtils.c:193:14: warning: variable ‘t1’ set but not used [-Wunused-but-set-variable=] 193 | TileType t1; | ^~ -
ResUtils.c:302:14: warning: variable ‘t1’ set but not used [-Wunused-but-set-variable=] 302 | TileType t1; | ^~ -
ResUtils.c:925:43: warning: ‘pNum’ may be used uninitialized [-Wmaybe-uninitialized] 925 | tile = PlaneGetHint(Def->cd_planes[pNum]);
-
selCreate.c:298:21: warning: unused variable ‘tMask’ [-Wunused-variable] 298 | TileTypeBitMask tMask; | ^~~~~ -
selCreate.c:353:17: warning: unused variable ‘t’ [-Wunused-variable] 353 | TileType s, t; | ^ -
selCreate.c:353:14: warning: unused variable ‘s’ [-Wunused-variable] 353 | TileType s, t; | ^ -
selCreate.c:352:28: warning: unused variable ‘rMask’ [-Wunused-variable] 352 | TileTypeBitMask tMask, rMask; | ^~~~~ -
selCreate.c:720:14: warning: unused variable ‘ttype’ [-Wunused-variable] 720 | TileType ttype; | ^~~~~ -
selCreate.c:1244:31: warning: unused variable ‘expanded’ [-Wunused-variable] 1244 | Rect editArea, labelArea, expanded; | ^~~~~~~~ -
selCreate.c:1244:20: warning: unused variable ‘labelArea’ [-Wunused-variable] 1244 | Rect editArea, labelArea, expanded; | ^~~~~~~~~ -
selEnum.c:190:21: warning: unused variable ‘uMask’ [-Wunused-variable] 190 | TileTypeBitMask uMask; | ^~~~~ -
selOps.c:1758:37: warning: unused variable ‘residueMask’ [-Wunused-variable] 1758 | TileTypeBitMask tmpmask, mask, *residueMask; | ^~~~~~~~~~~ -
selOps.c:2056:22: warning: unused variable ‘mask’ [-Wunused-variable] 2056 | TileTypeBitMask *mask, *sMask, *tMask; | ^~~~ -
selOps.c:634:12: warning: ‘mintp’ may be used uninitialized [-Wmaybe-uninitialized] 634 | if ((tile == mintp) || (TiGetClient(tile) == CLIENTDEFAULT)) | ^ -
selOps.c:1022:5: warning: ‘srctile’ may be used uninitialized [-Wmaybe-uninitialized] 1022 | selShortFindForward(srctile, srctype, srcpnum, desttile/*, desttype*/); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
selOps.c:1022:5: warning: ‘srctype’ may be used uninitialized [-Wmaybe-uninitialized] 1022 | selShortFindForward(srctile, srctype, srcpnum, desttile/*, desttype*/); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../tiles/tile.h:259:38: warning: ‘desttile’ may be used uninitialized [-Wmaybe-uninitialized] 259 | #define TiGetClient(tp) ((tp)->ti_client) | ~~~~~^~~~~~~~~~~~ -
SimDBstuff.c:824:31: warning: ‘tnext’ may be used uninitialized [-Wmaybe-uninitialized] 824 | fp->tf_tpath->tp_next = tnext; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
SimDBstuff.c:136:9: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation] 136 | strncpy(nodeName, SimGetNodeName(cx->tc_scx, tile, dinfo, tpath->tp_first), | ^ -
SimSelect.c:628:9: warning: variable ‘pos’ set but not used [-Wunused-but-set-variable=] 628 | int pos; | ^~~ -
SimSelect.c:22:19: warning: ‘sccsid’ defined but not used [-Wunused-const-variable=] 22 | static const char sccsid[] = "@(#)SimSelect.c 4.14 MAGIC (Berkeley) 10/3/85"; | ^~~~~~ -
SimExtract.c:224:21: warning: unused variable ‘q’ [-Wunused-variable] 224 | NodeRegion *p, *q; | ^ -
SimExtract.c:224:17: warning: unused variable ‘p’ [-Wunused-variable] 224 | NodeRegion *p, *q; | ^ -
SimExtract.c:245:20: warning: unused variable ‘p’ [-Wunused-variable] 245 | int i, t, sd, p; | ^ -
SimExtract.c:731:18: warning: unused variable ‘def’ [-Wunused-variable] 731 | CellDef *def = sx->scx_use->cu_def; | ^~~ -
txCommands.c:720:20: warning: unused variable ‘clock’ [-Wunused-variable] 720 | struct tm *clock = localtime(&t_stamp); | ^~~~~ -
txCommands.c:141:19: warning: ‘lisp_cur_cmd’ defined but not used [-Wunused-variable] 141 | static TxCommand *lisp_cur_cmd = NULL; | ^~~~~~~~~~~~ -
txInput.c:1004:9: warning: unused variable ‘return_nothing’ [-Wunused-variable] 1004 | int return_nothing = 0; | ^~~~~~~~~~~~~~ -
txInput.c:1003:28: warning: unused variable ‘tmp’ [-Wunused-variable] 1003 | char *res, *hist_res, *tmp; | ^~~ -
txInput.c:1003:17: warning: unused variable ‘hist_res’ [-Wunused-variable] 1003 | char *res, *hist_res, *tmp; | ^~~~~~~~ -
txOutput.c:53:12: warning: ‘txMorePid’ defined but not used [-Wunused-variable] 53 | static int txMorePid; | ^~~~~~~~~ -
getrect.c:65:11: warning: unused variable ‘cp’ [-Wunused-variable] 65 | char *cp; | ^~ -
ihash.c:132:7: warning: unused variable ‘bucket’ [-Wunused-variable] 132 | int bucket = ABS(hash) % table->iht_nBuckets; | ^~~~~~ -
ihash.c:45:13: warning: ‘rcsid’ defined but not used [-Wunused-variable] 45 | static char rcsid[] = "$Header$"; | ^~~~~ -
macros.c:104:29: warning: unused variable ‘newTable’ [-Wunused-variable] 104 | HashTable *clienttable, newTable; | ^~~~~~~~ -
macros.c:467:16: warning: unused variable ‘copytable’ [-Wunused-variable] 467 | HashTable *copytable; | ^~~~~~~~~ -
macros.c:479:8: warning: ‘clientName’ may be used uninitialized [-Wmaybe-uninitialized] 479 | if (clientName == NULL) | ^ -
main.c:566:11: warning: unused variable ‘syspath’ [-Wunused-variable] 566 | char *syspath; | ^~~~~~~ -
maxrect.c:36:29: warning: unused variable ‘tp’ [-Wunused-variable] 36 | Tile *tile, *tp; | ^~ -
maxrect.c:36:22: warning: unused variable ‘tile’ [-Wunused-variable] 36 | Tile *tile, *tp; | ^~~~ -
maxrect.c:35:21: warning: unused variable ‘s’ [-Wunused-variable] 35 | int s; | ^ -
maxrect.c:257:14: warning: unused variable ‘tt’ [-Wunused-variable] 257 | TileType tt; | ^~ -
maxrect.c:314:14: warning: unused variable ‘tt’ [-Wunused-variable] 314 | TileType tt; | ^~ -
niceabort.c:64:22: warning: unused variable ‘wpid’ [-Wunused-variable] 64 | int cpid, gcpid, wpid; | ^~~~ -
niceabort.c:123:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 123 | system(command); | ^~~~~~~~~~~~~~~ -
niceabort.c:155:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | system(command); | ^~~~~~~~~~~~~~~ -
path.c:498:16: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 498 | (void) strncpy(extendedName, file, length + 1); | ^ -
path.c:691:16: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 691 | (void) strncpy(extendedName, file, length + 1); | ^ -
path.c:869:16: warning: ‘__strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation] 869 | (void) strncpy(extendedName, file, length + 1); | ^ -
signals.c:357:10: warning: variable ‘iswindow’ set but not used [-Wunused-but-set-variable=] 357 | bool iswindow; | ^~~~~~~~ -
strdup.c:157:12: warning: variable ‘result’ set but not used [-Wunused-but-set-variable=] 157 | double result; | ^~~~~~ -
tech.c:165:15: warning: variable ‘selected’ set but not used [-Wunused-but-set-variable=] 165 | SectionID selected; | ^~~~~~~~ -
../database/database.h:167:47: warning: array subscript 8 is above array bounds of ‘unsigned int[8]’ [-Warray-bounds=] 167 | #define TTMaskSetType(m, t) ((m)->tt_words[ttWord(t)] |= ttMask(t)) | ~~~~~~~~~~~~~^~~~~~~~~~~ -
windClient.c:519:15: warning: variable ‘p’ set but not used [-Wunused-but-set-variable=] 519 | Point p; | ^ -
windClient.c:645:9: warning: unused variable ‘cmdNum’ [-Wunused-variable] 645 | int cmdNum; | ^~~~~~ -
windCmdAM.c:156:10: warning: unused variable ‘ts’ [-Wunused-variable] 156 | Rect ts; | ^~ -
windCmdAM.c:468:19: warning: unused variable ‘crec’ [-Wunused-variable] 468 | DBWclientRec *crec; | ^~~~ -
windCmdAM.c:466:26: warning: unused variable ‘oscale’ [-Wunused-variable] 466 | double cursx, cursy, oscale; | ^~~~~~ -
windCmdAM.c:1052:10: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable=] 1052 | char ch; | ^~ -
windCmdAM.c:1154:8: warning: ‘wc’ may be used uninitialized [-Wmaybe-uninitialized] 1154 | if (wc == (WindClient)NULL) | ^ -
windCmdSZ.c:82:14: warning: unused variable ‘locargc’ [-Wunused-variable] 82 | int pos, locargc = cmd->tx_argc; | ^~~~~~~ -
windCmdSZ.c:816:27: warning: unused variable ‘fval’ [-Wunused-variable] 816 | Tcl_Obj *listxy, *fval; | ^~~~ -
windSend.c:192:49: warning: ‘windCmdNum’ may be used uninitialized [-Wmaybe-uninitialized] 192 | if ((clientCmdNum == -1) || (windCmdNum == -1)) | ~~~~~~~~~~~~^~~~~~ -
windMain.c:373:9: warning: unused variable ‘length’ [-Wunused-variable] 373 | int length; | ^~~~~~ -
wireOps.c:566:19: warning: unused variable ‘scx’ [-Wunused-variable] 566 | SearchContext scx; | ^~~ -
wireOps.c:564:29: warning: unused variable ‘editArea’ [-Wunused-variable] 564 | Rect current, new, leg, editArea, *rect = ¤t; | ^~~~~~~~ -
wireOps.c:564:24: warning: unused variable ‘leg’ [-Wunused-variable] 564 | Rect current, new, leg, editArea, *rect = ¤t; | ^~~ -
wireTech.c:62:9: warning: unused variable ‘i’ [-Wunused-variable] 62 | int i; | ^ -
wireTech.c:61:14: warning: unused variable ‘contact’ [-Wunused-variable] 61 | Contact *contact; | ^~~~~~~ -
ext2sim.c:1173:38: warning: ‘source’ may be used uninitialized [-Wmaybe-uninitialized] 1173 | simdevOutNode(hierName, drain->dterm_node->efnode_name->efnn_hier, name, esSimF); | ~~~~~^~~~~~~~~~~~ -
ext2spice.c:4308:11: warning: variable ‘s’ set but not used [-Wunused-but-set-variable=] 4308 | char *s, *cp, c; | ^ -
ext2spice.c:4346:15: warning: unused variable ‘c’ [-Wunused-variable] 4346 | char *cp, c; | ^ -
ext2spice.c:2027:16: warning: ‘heh’ may be used uninitialized [-Wmaybe-uninitialized] 2027 | if (heh == (HashEntry *)NULL) /* pname now resolved for log output */ | ^ -
ext2spice.c:2818:16: warning: ‘drain’ may be used uninitialized [-Wmaybe-uninitialized] 2818 | if (source == drain) | ^ -
ext2spice.c:2826:16: warning: ‘source’ may be used uninitialized [-Wmaybe-uninitialized] 2826 | if (gate == source) | ^ -
ext2spice.c:2871:5: warning: ‘devchar’ may be used uninitialized [-Wmaybe-uninitialized] 2871 | fprintf(esSpiceF, "%c", devchar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ext2spice.c:4749:10: warning: ‘snode’ may be used uninitialized [-Wmaybe-uninitialized] 4749 | fp = mkDevMerge((float)((float)l * scale), (float)((float)w * scale), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4750 | gnode, snode, dnode, subnode, hierName, dev); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ext2spice.c:4749:10: warning: ‘dnode’ may be used uninitialized [-Wmaybe-uninitialized] 4749 | fp = mkDevMerge((float)((float)l * scale), (float)((float)w * scale), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4750 | gnode, snode, dnode, subnode, hierName, dev); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
ext2hier.c:811:5: warning: ‘devchar’ may be used uninitialized [-Wmaybe-uninitialized] 811 | fprintf(esSpiceF, "%c", devchar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CalmaRead.c:356:10: warning: variable ‘compatible’ set but not used [-Wunused-but-set-variable=] 356 | bool compatible; | ^~~~~~~~~~ -
CalmaRead.c:352:9: warning: variable ‘nbytes’ set but not used [-Wunused-but-set-variable=] 352 | int nbytes, rtype = 0; | ^~~~~~ -
CalmaRdcl.c:107:10: warning: unused variable ‘found’ [-Wunused-variable] 107 | bool found = FALSE; | ^~~~~ -
CalmaRdcl.c:103:30: warning: unused variable ‘currentPos’ [-Wunused-variable] 103 | OFFTYPE originalPos = 0, currentPos = 0; | ^~~~~~~~~~ -
CalmaRdcl.c:311:16: warning: unused variable ‘he’ [-Wunused-variable] 311 | HashEntry *he; | ^~ -
CalmaRdcl.c:308:9: warning: unused variable ‘i’ [-Wunused-variable] 308 | int i; | ^ -
CalmaRdcl.c:370:12: warning: unused variable ‘lab’ [-Wunused-variable] 370 | Label *lab; | ^~~ -
CalmaRdcl.c:362:9: warning: unused variable ‘mfactor’ [-Wunused-variable] 362 | int mfactor; | ^~~~~~~ -
CalmaRdcl.c:1233:18: warning: unused variable ‘hasUses’ [-Wunused-variable] 1233 | bool hasUses; | ^~~~~~~ -
CalmaRdcl.c:1358:9: warning: unused variable ‘pNum’ [-Wunused-variable] 1358 | int pNum; | ^~~~ -
CalmaRdcl.c:1315:17: warning: ‘xhi’ may be used uninitialized [-Wmaybe-uninitialized] 1315 | DBMakeArray(use, &GeoIdentityTransform, xlo, ylo, xhi, yhi, xsep, ysep); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CalmaRdcl.c:1315:17: warning: ‘yhi’ may be used uninitialized [-Wmaybe-uninitialized] 1315 | DBMakeArray(use, &GeoIdentityTransform, xlo, ylo, xhi, yhi, xsep, ysep); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
CalmaRdpt.c:329:13: warning: unused variable ‘savescale’ [-Wunused-variable] 329 | int savescale; | ^~~~~~~~~ -
CalmaRdpt.c:541:15: warning: unused variable ‘last’ [-Wunused-variable] 541 | int first,last; | ^~~~ -
CalmaRdpt.c:541:9: warning: unused variable ‘first’ [-Wunused-variable] 541 | int first,last; | ^~~~~ -
CalmaRdpt.c:539:34: warning: unused variable ‘previousp’ [-Wunused-variable] 539 | CIFPath *pathheadp, *pathp, *previousp; | ^~~~~~~~~ -
CalmaRdpt.c:538:33: warning: unused variable ‘temp’ [-Wunused-variable] 538 | int xmin, ymin, xmax, ymax, temp; | ^~~~ -
CalmaRdpt.c:538:27: warning: unused variable ‘ymax’ [-Wunused-variable] 538 | int xmin, ymin, xmax, ymax, temp; | ^~~~ -
CalmaRdpt.c:538:21: warning: unused variable ‘xmax’ [-Wunused-variable] 538 | int xmin, ymin, xmax, ymax, temp; | ^~~~ -
CalmaRdpt.c:538:15: warning: unused variable ‘ymin’ [-Wunused-variable] 538 | int xmin, ymin, xmax, ymax, temp; | ^~~~ -
CalmaRdpt.c:538:9: warning: unused variable ‘xmin’ [-Wunused-variable] 538 | int xmin, ymin, xmax, ymax, temp; | ^~~~ -
CalmaWrite.c:289:48: warning: unused variable ‘nerr’ [-Wunused-variable] 289 | int oldCount = DBWFeedbackCount, problems, nerr; | ^~~~ -
CalmaWrite.c:693:11: warning: unused variable ‘sptr’ [-Wunused-variable] 693 | char *sptr, *viewopts; | ^~~~ -
CalmaWrite.c:692:28: warning: unused variable ‘testlib’ [-Wunused-variable] 692 | char *libname = NULL, *testlib, uniqlibname[4]; | ^~~~~~~ -
CalmaWrite.c:1982:12: warning: unused variable ‘op’ [-Wunused-variable] 1982 | CIFOp *op; | ^~ -
CalmaWrite.c:1979:20: warning: unused variable ‘cellDef’ [-Wunused-variable] 1979 | CellDef *def, *cellDef; | ^~~~~~~ -
CalmaWrite.c:2424:9: warning: unused variable ‘sval’ [-Wunused-variable] 2424 | int sval; | ^~~~ -
CalmaWrite.c:2422:48: warning: unused variable ‘lbfree’ [-Wunused-variable] 2422 | LinkedBoundary *listtop, *lbref, *lbstop, *lbfree; | ^~~~~~ -
CalmaWrite.c:2544:17: warning: unused variable ‘clipArea’ [-Wunused-variable] 2544 | const Rect *clipArea = cos->area; | ^~~~~~~~ -
CalmaWrite.c:2543:11: warning: unused variable ‘f’ [-Wunused-variable] 2543 | FILE *f = cos->f; | ^ -
CalmaWrite.c:2874:13: warning: unused variable ‘r2’ [-Wunused-variable] 2874 | Rect r, r2; | ^~ -
CalmaWrite.c:3153:9: warning: unused variable ‘len’ [-Wunused-variable] 3153 | int len; | ^~~ -
CalmaWrite.c:3151:13: warning: unused variable ‘r2’ [-Wunused-variable] 3151 | Rect r, r2; | ^~ -
CalmaWrite.c:971:33: warning: ‘hierWrite’ may be used uninitialized [-Wmaybe-uninitialized] 971 | CIFHierWriteDisable = hierWrite; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
CalmaWrite.c:972:34: warning: ‘arrayWrite’ may be used uninitialized [-Wmaybe-uninitialized] 972 | CIFArrayWriteDisable = arrayWrite; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
CalmaWriteZ.c:679:22: warning: unused variable ‘hdrSkip’ [-Wunused-variable] 679 | static const int hdrSkip[] = { CALMA_FORMAT, CALMA_MASK, CALMA_ENDMASKS, | ^~~~~~~ -
CalmaWriteZ.c:673:11: warning: unused variable ‘sptr’ [-Wunused-variable] 673 | char *sptr, *viewopts; | ^~~~ -
CalmaWriteZ.c:672:28: warning: unused variable ‘testlib’ [-Wunused-variable] 672 | char *libname = NULL, *testlib, uniqlibname[4]; | ^~~~~~~ -
CalmaWriteZ.c:1255:11: warning: unused variable ‘propvalue’ [-Wunused-variable] 1255 | char *propvalue; | ^~~~~~~~~ -
CalmaWriteZ.c:1806:12: warning: unused variable ‘op’ [-Wunused-variable] 1806 | CIFOp *op; | ^~ -
CalmaWriteZ.c:1803:20: warning: unused variable ‘cellDef’ [-Wunused-variable] 1803 | CellDef *def, *cellDef; | ^~~~~~~ -
CalmaWriteZ.c:1888:9: warning: unused variable ‘sval’ [-Wunused-variable] 1888 | int sval; | ^~~~ -
CalmaWriteZ.c:1886:48: warning: unused variable ‘lbfree’ [-Wunused-variable] 1886 | LinkedBoundary *listtop, *lbref, *lbstop, *lbfree; | ^~~~~~ -
CalmaWriteZ.c:1978:17: warning: unused variable ‘clipArea’ [-Wunused-variable] 1978 | const Rect *clipArea = cos->area; | ^~~~~~~~ -
CalmaWriteZ.c:1977:12: warning: unused variable ‘f’ [-Wunused-variable] 1977 | gzFile f = cos->f; | ^ -
CalmaWriteZ.c:2308:13: warning: unused variable ‘r2’ [-Wunused-variable] 2308 | Rect r, r2; | ^~ -
CalmaWriteZ.c:2587:9: warning: unused variable ‘len’ [-Wunused-variable] 2587 | int len; | ^~~ -
CalmaWriteZ.c:2585:13: warning: unused variable ‘r2’ [-Wunused-variable] 2585 | Rect r, r2; | ^~ -
CalmaWriteZ.c:921:33: warning: ‘hierWrite’ may be used uninitialized [-Wmaybe-uninitialized] 921 | CIFHierWriteDisable = hierWrite; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
CalmaWriteZ.c:922:34: warning: ‘arrayWrite’ may be used uninitialized [-Wmaybe-uninitialized] 922 | CIFArrayWriteDisable = arrayWrite; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
CIFgen.c:334:14: warning: unused variable ‘type’ [-Wunused-variable] 334 | TileType type, tptype; | ^~~~ -
CIFgen.c:512:14: warning: unused variable ‘oldType’ [-Wunused-variable] 512 | TileType oldType = TiGetType(tile); | ^~~~~~~ -
CIFgen.c:509:9: warning: unused variable ‘remainder’ [-Wunused-variable] 509 | int remainder; | ^~~~~~~~~ -
CIFgen.c:623:13: warning: unused variable ‘limit’ [-Wunused-variable] 623 | int limit; | ^~~~~ -
CIFgen.c:1463:14: warning: unused variable ‘foundArea’ [-Wunused-variable] 1463 | Rect foundArea; | ^~~~~~~~~ -
CIFgen.c:1385:9: warning: unused variable ‘i’ [-Wunused-variable] 1385 | int i, locScale; | ^ -
CIFgen.c:1382:20: warning: variable ‘firstTile’ set but not used [-Wunused-but-set-variable=] 1382 | Tile *t, *tp, *firstTile = NULL; | ^~~~~~~~~ -
CIFgen.c:1973:9: warning: unused variable ‘wtest’ [-Wunused-variable] 1973 | int wtest; | ^~~~~ -
CIFgen.c:2197:16: warning: unused variable ‘newarea’ [-Wunused-variable] 2197 | Rect area, newarea; | ^~~~~~~ -
CIFgen.c:2197:10: warning: unused variable ‘area’ [-Wunused-variable] 2197 | Rect area, newarea; | ^~~~ -
CIFgen.c:2238:16: warning: unused variable ‘newarea’ [-Wunused-variable] 2238 | Rect area, newarea; | ^~~~~~~ -
CIFgen.c:2236:14: warning: unused variable ‘type’ [-Wunused-variable] 2236 | TileType type; | ^~~~ -
CIFgen.c:2583:14: warning: unused variable ‘type’ [-Wunused-variable] 2583 | TileType type; | ^~~~ -
CIFgen.c:2582:15: warning: unused variable ‘savecount’ [-Wunused-variable] 2582 | int i, j, savecount; | ^~~~~~~~~ -
CIFgen.c:2582:12: warning: unused variable ‘j’ [-Wunused-variable] 2582 | int i, j, savecount; | ^ -
CIFgen.c:2582:9: warning: unused variable ‘i’ [-Wunused-variable] 2582 | int i, j, savecount; | ^ -
CIFgen.c:2743:14: warning: unused variable ‘type’ [-Wunused-variable] 2743 | TileType type; | ^~~~ -
CIFgen.c:2741:48: warning: unused variable ‘right’ [-Wunused-variable] 2741 | int nAcross, nUp, left, pitch, size, diff, right; | ^~~~~ -
CIFgen.c:2741:23: warning: unused variable ‘left’ [-Wunused-variable] 2741 | int nAcross, nUp, left, pitch, size, diff, right; | ^~~~ -
CIFgen.c:3076:14: warning: unused variable ‘type’ [-Wunused-variable] 3076 | TileType type; | ^~~~ -
CIFgen.c:3073:15: warning: unused variable ‘right’ [-Wunused-variable] 3073 | int diff, right; | ^~~~~ -
CIFgen.c:3072:52: warning: variable ‘lsize’ set but not used [-Wunused-but-set-variable=] 3072 | int nAcross, nUp, left, spitch, lpitch, ssize, lsize, offset; | ^~~~~ -
CIFgen.c:3072:23: warning: unused variable ‘left’ [-Wunused-variable] 3072 | int nAcross, nUp, left, spitch, lpitch, ssize, lsize, offset; | ^~~~ -
CIFgen.c:3635:21: warning: unused variable ‘j’ [-Wunused-variable] 3635 | int i, nAcross, j, nUp, left, bottom, pitch, halfsize; | ^ -
CIFgen.c:3635:9: warning: unused variable ‘i’ [-Wunused-variable] 3635 | int i, nAcross, j, nUp, left, bottom, pitch, halfsize; | ^ -
CIFgen.c:3716:12: warning: unused variable ‘j’ [-Wunused-variable] 3716 | int i, j, xpitch, ypitch, delta, limit; | ^ -
CIFgen.c:3716:9: warning: unused variable ‘i’ [-Wunused-variable] 3716 | int i, j, xpitch, ypitch, delta, limit; | ^ -
CIFgen.c:4063:11: warning: unused variable ‘tp’ [-Wunused-variable] 4063 | Tile *tp; | ^~ -
CIFgen.c:4147:11: warning: unused variable ‘tp’ [-Wunused-variable] 4147 | Tile *tp; | ^~ -
CIFgen.c:4314:12: warning: unused variable ‘plane’ [-Wunused-variable] 4314 | Plane *plane = brlims->plane; | ^~~~~ -
CIFgen.c:4680:9: warning: unused variable ‘spacing’ [-Wunused-variable] 4680 | int spacing = growDistance; | ^~~~~~~ -
CIFgen.c:4911:14: warning: unused variable ‘type’ [-Wunused-variable] 4911 | TileType type; | ^~~~ -
CIFgen.c:4910:9: warning: unused variable ‘i’ [-Wunused-variable] 4910 | int i; | ^ -
CIFgen.c:5843:25: warning: unused variable ‘n’ [-Wunused-variable] 5843 | int n; | ^ -
CIFgen.c:5158:11: warning: unused variable ‘propvalue’ [-Wunused-variable] 5158 | char *propvalue; | ^~~~~~~~~ -
CIFgen.c:5154:17: warning: unused variable ‘bridge’ [-Wunused-variable] 5154 | BridgeData *bridge; | ^~~~~~ -
CIFgen.c:5145:12: warning: unused variable ‘tempOp’ [-Wunused-variable] 5145 | CIFOp *tempOp; | ^~~~~~ -
CIFgen.c:930:29: warning: ‘topLeftType’ may be used uninitialized [-Wmaybe-uninitialized] 930 | TileType oldType, type, topLeftType, bottomRightType; | ^~~~~~~~~~~ -
CIFgen.c:930:42: warning: ‘bottomRightType’ may be used uninitialized [-Wmaybe-uninitialized] 930 | TileType oldType, type, topLeftType, bottomRightType; | ^~~~~~~~~~~~~~~ -
CIFhier.c:277:21: warning: unused variable ‘numvals’ [-Wunused-variable] 277 | int i, lastlen, numvals; | ^~~~~~~ -
CIFhier.c:277:12: warning: unused variable ‘lastlen’ [-Wunused-variable] 277 | int i, lastlen, numvals; | ^~~~~~~ -
CIFhier.c:277:9: warning: unused variable ‘i’ [-Wunused-variable] 277 | int i, lastlen, numvals; | ^ -
CIFhier.c:275:37: warning: unused variable ‘propvalue’ [-Wunused-variable] 275 | char *vptr, *newval, *lastval, *propvalue; | ^~~~~~~~~ -
CIFhier.c:275:27: warning: unused variable ‘lastval’ [-Wunused-variable] 275 | char *vptr, *newval, *lastval, *propvalue; | ^~~~~~~ -
CIFhier.c:275:18: warning: unused variable ‘newval’ [-Wunused-variable] 275 | char *vptr, *newval, *lastval, *propvalue; | ^~~~~~ -
CIFhier.c:275:11: warning: unused variable ‘vptr’ [-Wunused-variable] 275 | char *vptr, *newval, *lastval, *propvalue; | ^~~~ -
CIFhier.c:274:13: warning: unused variable ‘newr’ [-Wunused-variable] 274 | Rect r, newr; | ^~~~ -
CIFhier.c:274:10: warning: unused variable ‘r’ [-Wunused-variable] 274 | Rect r, newr; | ^ -
CIFmain.c:262:30: warning: unused variable ‘exactmatch’ [-Wunused-variable] 262 | CIFKeep *style, *match, *exactmatch; | ^~~~~~~~~~ -
CIFrdcl.c:264:9: warning: unused variable ‘reused’ [-Wunused-variable] 264 | int reused; | ^~~~~~ -
CIFrdcl.c:263:20: warning: unused variable ‘testdef’ [-Wunused-variable] 263 | CellDef *def, *testdef; | ^~~~~~~ -
CIFrdcl.c:522:9: warning: unused variable ‘pNum’ [-Wunused-variable] 522 | int pNum; | ^~~~ -
CIFrdcl.c:569:10: warning: unused variable ‘r’ [-Wunused-variable] 569 | Rect r; | ^ -
CIFrdcl.c:645:31: warning: unused variable ‘cifReadLayers’ [-Wunused-variable] 645 | extern char *(cifReadLayers[MAXCIFRLAYERS]); | ^~~~~~~~~~~~~ -
CIFrdcl.c:732:38: warning: unused variable ‘i’ [-Wunused-variable] 732 | int proplen, i, savescale; | ^ -
CIFrdcl.c:732:29: warning: unused variable ‘proplen’ [-Wunused-variable] 732 | int proplen, i, savescale; | ^~~~~~~ -
CIFrdcl.c:730:51: warning: unused variable ‘proporig’ [-Wunused-variable] 730 | PropertyRecord *proprec, *proporig; | ^~~~~~~~ -
CIFrdcl.c:691:43: warning: unused variable ‘lsrch’ [-Wunused-variable] 691 | LinkedRect *lrec = NULL, *lsrch; | ^~~~~ -
CIFrdcl.c:891:39: warning: unused variable ‘lsrch’ [-Wunused-variable] 891 | LinkedRect *lrec = NULL, *lsrch; | ^~~~~ -
CIFrdcl.c:1005:31: warning: unused variable ‘storedvalue’ [-Wunused-variable] 1005 | char propertyvalue[128], *storedvalue; | ^~~~~~~~~~~ -
CIFrdcl.c:1005:10: warning: unused variable ‘propertyvalue’ [-Wunused-variable] 1005 | char propertyvalue[128], *storedvalue; | ^~~~~~~~~~~~~ -
CIFrdcl.c:1740:16: warning: unused variable ‘window’ [-Wunused-variable] 1740 | MagWindow *window; | ^~~~~~ -
CIFrdpt.c:537:19: warning: unused variable ‘newpt’ [-Wunused-variable] 537 | Point newpt; | ^~~~~ -
CIFrdpt.c:535:18: warning: unused variable ‘r’ [-Wunused-variable] 535 | Rect r; | ^ -
CIFrdpt.c:350:46: warning: unused variable ‘adjwidth’ [-Wunused-variable] 350 | double theta, phi, alpha, delta, cwidth, adjwidth, testmitre, savetheta; | ^~~~~~~~ -
CIFrdpt.c:708:30: warning: unused variable ‘polypath’ [-Wunused-variable] 708 | CIFPath *pathheadp, *polypath; | ^~~~~~~~ -
CIFrdutils.c:213:15: warning: unused variable ‘mfactor’ [-Wunused-variable] 213 | int mult, mfactor; | ^~~~~~~ -
CIFrdutils.c:213:9: warning: variable ‘mult’ set but not used [-Wunused-but-set-variable=] 213 | int mult, mfactor; | ^~~~ -
CIFrdutils.c:675:10: warning: variable ‘nonManhattan’ set but not used [-Wunused-but-set-variable=] 675 | bool nonManhattan = FALSE; /* diagnostic only */ | ^~~~~~~~~~~~ -
CIFrdutils.c:1060:37: warning: unused variable ‘y’ [-Wunused-variable] 1060 | int yinit, ydiff, yincr, ylast, y; | ^ -
CIFrdutils.c:1060:30: warning: unused variable ‘ylast’ [-Wunused-variable] 1060 | int yinit, ydiff, yincr, ylast, y; | ^~~~~ -
CIFrdutils.c:1060:23: warning: unused variable ‘yincr’ [-Wunused-variable] 1060 | int yinit, ydiff, yincr, ylast, y; | ^~~~~ -
CIFrdutils.c:1060:16: warning: unused variable ‘ydiff’ [-Wunused-variable] 1060 | int yinit, ydiff, yincr, ylast, y; | ^~~~~ -
CIFrdutils.c:1060:9: warning: unused variable ‘yinit’ [-Wunused-variable] 1060 | int yinit, ydiff, yincr, ylast, y; | ^~~~~ -
CIFrdutils.c:1059:37: warning: unused variable ‘x’ [-Wunused-variable] 1059 | int xinit, xdiff, xincr, xlast, x; | ^ -
CIFrdutils.c:1059:30: warning: unused variable ‘xlast’ [-Wunused-variable] 1059 | int xinit, xdiff, xincr, xlast, x; | ^~~~~ -
CIFrdutils.c:1059:23: warning: unused variable ‘xincr’ [-Wunused-variable] 1059 | int xinit, xdiff, xincr, xlast, x; | ^~~~~ -
CIFrdutils.c:1059:16: warning: unused variable ‘xdiff’ [-Wunused-variable] 1059 | int xinit, xdiff, xincr, xlast, x; | ^~~~~ -
CIFrdutils.c:1059:9: warning: unused variable ‘xinit’ [-Wunused-variable] 1059 | int xinit, xdiff, xincr, xlast, x; | ^~~~~ -
CIFrdutils.c:1242:35: warning: unused variable ‘last’ [-Wunused-variable] 1242 | CIFPath *next, *path, *prev, *last; | ^~~~ -
CIFrdutils.c:326:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized] 326 | return result; | ^~~~~~ -
CIFrdutils.c:930:20: warning: ‘segcrossed’ may be used uninitialized [-Wmaybe-uninitialized] 930 | if (does_cross && segcrossed) | ^~ -
CIFsee.c:146:10: warning: unused variable ‘msg’ [-Wunused-variable] 146 | char msg[100]; | ^~~ -
CIFsee.c:507:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] 507 | TxPrintf("%s Area = %"DLONG_PREFIX"d CIF units^2\n", doBox ? "Cursor Box" : | ^~~~~~~~~~~~~ 508 | "Cell", btotal); | ~~~~~~ | | | long long int -
CIFsee.c:509:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] 509 | TxPrintf("Layer Bounding Area = %"DLONG_PREFIX"d CIF units^2\n", atotal); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ | | | long long int -
CIFsee.c:510:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] 510 | TxPrintf("Layer Total Area = %"DLONG_PREFIX"d CIF units^2\n", cstats.coverage); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ | | | long long int -
CIFtech.c:274:26: warning: unused variable ‘t’ [-Wunused-variable] 274 | TileType t; | ^ -
CIFtech.c:239:30: warning: unused variable ‘cp’ [-Wunused-variable] 239 | char curLayer[512], *p, *cp; | ^~ -
CIFtech.c:901:48: warning: variable ‘textOnly’ set but not used [-Wunused-but-set-variable=] 901 | bool portOnly = FALSE, noPort = FALSE, textOnly = FALSE; | ^~~~~~~~ -
CIFtech.c:2606:21: warning: unused variable ‘nlayers’ [-Wunused-variable] 2606 | int nlayers; | ^~~~~~~ -
CIFwrite.c:267:16: warning: variable ‘clock’ set but not used [-Wunused-but-set-variable=] 267 | struct tm *clock; | ^~~~~ -
CIFwrite.c:313:10: warning: unused variable ‘needHier’ [-Wunused-variable] 313 | bool needHier; | ^~~~~~~~ -
CIFwrite.c:593:9: warning: variable ‘type’ set but not used [-Wunused-but-set-variable=] 593 | int type; | ^~~~ -
CIFwrite.c:735:21: warning: unused variable ‘cifMask’ [-Wunused-variable] 735 | TileTypeBitMask cifMask; | ^~~~~~~ -
plotCmd.c:100:11: warning: unused variable ‘width’ [-Wunused-variable] 100 | float width; | ^~~~~ -
plotHP.c:302:22: warning: unused variable ‘line_offset’ [-Wunused-variable] 302 | int line, count, line_offset = 0; | ^~~~~~~~~~~ -
plotHP.c:354:22: warning: ‘count’ may be used uninitialized [-Wmaybe-uninitialized] 354 | rasFileByteCount += count; | ^~ -
plotPS.c:177:12: warning: unused variable ‘j’ [-Wunused-variable] 177 | int i, j; | ^ -
plotPS.c:177:9: warning: unused variable ‘i’ [-Wunused-variable] 177 | int i, j; | ^ -
plotPS.c:397:32: warning: unused variable ‘diff’ [-Wunused-variable] 397 | int x1, x2, y1, y2, limit, diff; | ^~~~ -
plotPS.c:541:19: warning: unused variable ‘lr’ [-Wunused-variable] 541 | Point ul, lr; | ^~ -
plotPS.c:541:15: warning: unused variable ‘ul’ [-Wunused-variable] 541 | Point ul, lr; | ^~ -
plotPS.c:1151:9: warning: unused variable ‘i’ [-Wunused-variable] 1151 | int i, j; | ^ -
plotPS.c:114:12: warning: ‘curFont’ defined but not used [-Wunused-variable] 114 | static int curFont; /* Current font */ | ^~~~~~~ -
plotRutils.c:380:38: warning: ‘locleft’ may be used uninitialized [-Wmaybe-uninitialized] 380 | leftMask = rightBits[locleft & 037]; | ~~~~~~~~^~~~~ -
plotRutils.c:381:39: warning: ‘locright’ may be used uninitialized [-Wmaybe-uninitialized] 381 | rightMask = leftBits[locright & 037]; | ~~~~~~~~~^~~~~ -
plotVers.c:329:9: warning: unused variable ‘i’ [-Wunused-variable] 329 | int i; | ^ -
plotVers.c:427:9: warning: unused variable ‘i’ [-Wunused-variable] 427 | int i; | ^ -
plotVers.c:704:16: warning: unused variable ‘j’ [-Wunused-variable] 704 | int i, j; | ^ -
plotVers.c:704:13: warning: unused variable ‘i’ [-Wunused-variable] 704 | int i, j; | ^ -
plotPNM.c:403:16: warning: unused variable ‘h’ [-Wunused-variable] 403 | int w, h, llx, lly, urx, ury; | ^ -
plotPNM.c:403:13: warning: unused variable ‘w’ [-Wunused-variable] 403 | int w, h, llx, lly, urx, ury; | ^ -
plotPNM.c:584:9: warning: unused variable ‘i’ [-Wunused-variable] 584 | int i, x, y, tile_ydelta; | ^ -
plotPNM.c:582:10: warning: unused variable ‘bbox’ [-Wunused-variable] 582 | Rect bbox; | ^~~~ -
plotPNM.c:1361:36: warning: unused variable ‘nfill’ [-Wunused-variable] 1361 | int ord, mask, color, outline, nfill, stipple; | ^~~~~ -
lefTech.c:307:23: warning: unused variable ‘oscale’ [-Wunused-variable] 307 | float oscale = CIFGetOutputScale(1000); /* FIXME unused return value from call to function with no side-effects */ | ^~~~~~ -
lefTech.c:327:60: warning: ‘isContact’ may be used uninitialized [-Wmaybe-uninitialized] 327 | option = (isContact) ? LEFTECH_CONTACT : LEFTECH_ROUTE; | ^ -
lefTech.c:396:28: warning: ‘mtype’ may be used uninitialized [-Wmaybe-uninitialized] 396 | lefl->type = mtype; | ~~~~~~~~~~~^~~~~~~ -
lefTech.c:395:41: warning: ‘isObstruction’ may be used uninitialized [-Wmaybe-uninitialized] 395 | else if ((lefl->type == -1) && !isObstruction) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ -
lefWrite.c:1154:23: warning: variable ‘class’ set but not used [-Wunused-but-set-variable=] 1154 | char *propvalue, *class = NULL; | ^~~~~ -
lefWrite.c:2115:16: warning: variable ‘he’ set but not used [-Wunused-but-set-variable=] 2115 | HashEntry *he; | ^~ -
lefWrite.c:2154:15: warning: variable ‘value’ set but not used [-Wunused-but-set-variable=] 2154 | char *value; | ^~~~~ -
lefWrite.c:2145:16: warning: variable ‘he’ set but not used [-Wunused-but-set-variable=] 2145 | HashEntry *he; | ^~ -
lefWrite.c:988:26: warning: ‘bptr’ may be used uninitialized [-Wmaybe-uninitialized] 988 | if (*cptr == '\0' && *bptr == '\0') | ^~~~~ -
lefWrite.c:1674:39: warning: ‘pTop’ may be used uninitialized [-Wmaybe-uninitialized] 1674 | if (toplayer && (pNum != pTop)) | ~~~~~~^~~~~~~~ -
defWrite.c:1960:21: warning: ‘sldist’ may be used uninitialized [-Wmaybe-uninitialized] 1960 | if ((sldist > 0) || (ldist > 0)) | ~~~~~~~~^~~~ -
defWrite.c:1985:21: warning: ‘shdist’ may be used uninitialized [-Wmaybe-uninitialized] 1985 | if ((shdist > 0) || (hdist > 0)) | ~~~~~~~~^~~~ -
defWrite.c:1440:55: warning: ‘%.10g’ directive output may be truncated writing between 1 and 17 bytes into a region of size between 5 and 21 [-Wformat-truncation=] 1440 | snprintf(viaName, (size_t)24, "_%.10g_%.10g", | ^~~~~ -
defWrite.c:1507:59: warning: ‘%.10g’ directive output may be truncated writing between 1 and 17 bytes into a region of size between 5 and 21 [-Wformat-truncation=] 1507 | snprintf(viaName, (size_t)24, "_%.10g_%.10g", | ^~~~~ -
defWrite.c:1627:42: warning: ‘rtype’ may be used uninitialized [-Wmaybe-uninitialized] 1627 | if ((orient == GEO_CENTER) && (rtype != TT_SPACE) && (r2type != TT_SPACE)) | ~~~~~~~^~~~~~~~~~~~ -
defWrite.c:1627:55: warning: ‘r2type’ may be used uninitialized [-Wmaybe-uninitialized] 1627 | if ((orient == GEO_CENTER) && (rtype != TT_SPACE) && (r2type != TT_SPACE)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
defWrite.c:2597:25: warning: ‘defobsdata.blockData’ may be used uninitialized [-Wmaybe-uninitialized] 2597 | freeMagic(defobsdata.blockData); | ~~~~~~~~~~^~~~~~~~~~ -
lefRead.c:1240:29: warning: unused variable ‘pNum’ [-Wunused-variable] 1240 | int pNum = DBPlane(curlayer); /* FIXME unused return value from call to function with no side-effects */ | ^~~~ -
lefRead.c:2280:27: warning: unused variable ‘propext’ [-Wunused-variable] 2280 | char *propext; | ^~~~~~~ -
lefRead.c:2779:31: warning: unused variable ‘spacing_keys’ [-Wunused-variable] 2779 | static const char * const spacing_keys[] = { | ^~~~~~~~~~~~ -
lefRead.c:2094:10: warning: ‘lefBBox.r_ur.p_x’ may be used uninitialized [-Wmaybe-uninitialized] 2094 | Rect lefBBox; | ^~~~~~~ -
lefRead.c:2094:10: warning: ‘lefBBox.r_ur.p_y’ may be used uninitialized [-Wmaybe-uninitialized]
-
lefRead.c:2808:20: warning: ‘typekey’ may be used uninitialized [-Wmaybe-uninitialized] 2808 | if (lefl->lefClass != typekey) | ^ -
defRead.c:2470:10: warning: unused variable ‘design_is_root’ [-Wunused-variable] 2470 | bool design_is_root = FALSE; | ^~~~~~~~~~~~~~ -
defRead.c:95:11: warning: ‘refp.p_x’ is used uninitialized [-Wuninitialized] 95 | Point refp; /* reference point */ | ^~~~ -
defRead.c:95:11: warning: ‘refp.p_y’ is used uninitialized [-Wuninitialized]
-
defRead.c:103:9: warning: ‘paintWidth’ may be used uninitialized [-Wmaybe-uninitialized] 103 | int paintWidth, saveWidth, paintExtend; | ^~~~~~~~~~ -
defRead.c:179:16: warning: ‘routeLayer’ may be used uninitialized [-Wmaybe-uninitialized] 179 | if (routeLayer < 0) | ^ -
defRead.c:655:42: warning: ‘extend’ may be used uninitialized [-Wmaybe-uninitialized] 655 | newRoute->r_r.r_xbot -= lextend; | ^~ -
defRead.c:692:35: warning: ‘routeList’ may be used uninitialized [-Wmaybe-uninitialized] 692 | routeList->r_next = newRoute; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~ -
defRead.c:688:30: warning: ‘paintLayer’ may be used uninitialized [-Wmaybe-uninitialized] 688 | newRoute->r_type = paintLayer; | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -
defRead.c:924:37: warning: ‘lefl’ may be used uninitialized [-Wmaybe-uninitialized] 924 | else if (lefl == NULL) | ^ -
defRead.c:1851:29: warning: ‘curlayer’ may be used uninitialized [-Wmaybe-uninitialized] 1851 | DBPaint(rootDef, currect, curlayer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gaChannel.c:607:19: warning: ‘nPins’ may be used uninitialized [-Wmaybe-uninitialized] 607 | for (n = 1; n <= nPins; n++, p1++, p2++, coord += RtrGridSpacing) | ~~^~~~~~~~ -
gaChannel.c:629:19: warning: ‘p1’ may be used uninitialized [-Wmaybe-uninitialized] 629 | if (p1->gcr_pId == (GCRNet *) NULL) p1->gcr_pId = GCR_BLOCKEDNETID; | ~~^~~~~~~~~ -
gaChannel.c:630:19: warning: ‘p2’ may be used uninitialized [-Wmaybe-uninitialized] 630 | if (p2->gcr_pId == (GCRNet *) NULL) p2->gcr_pId = GCR_BLOCKEDNETID; | ~~^~~~~~~~~ -
gaChannel.c:613:45: warning: ‘coord’ may be used uninitialized [-Wmaybe-uninitialized] 613 | scx.scx_area.r_ytop = coord + RtrSubcellSepDown; | ~~~~~~^~~~~~~~~~~~~~~~~~~ -
gaSimple.c:131:17: warning: ‘bot’ may be used uninitialized [-Wmaybe-uninitialized] 131 | if (bot + RtrMetalWidth > top || bot + RtrPolyWidth > top) | ~~~~^~~~~~~~~~~~~~~ -
gaSimple.c:131:12: warning: ‘top’ may be used uninitialized [-Wmaybe-uninitialized] 131 | if (bot + RtrMetalWidth > top || bot + RtrPolyWidth > top) | ^ -
gaSimple.c:678:16: warning: ‘wPin’ may be used uninitialized [-Wmaybe-uninitialized] 678 | wPin->sw_longOK) | ~~~~^~~~~~~~~~~ -
gaSimple.c:688:23: warning: ‘wOther’ may be used uninitialized [-Wmaybe-uninitialized] 688 | else if(wOther->sw_shortOK && | ~~~~~~^~~~~~~~~~~~ -
gaStem.c:568:12: warning: ‘dir1’ may be used uninitialized [-Wmaybe-uninitialized] 568 | pin1 = gaStemCheckPin(routeUse, loc, ch, dir1, &p1, netList); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gaStem.c:569:12: warning: ‘dir2’ may be used uninitialized [-Wmaybe-uninitialized] 569 | pin2 = gaStemCheckPin(routeUse, loc, ch, dir2, &p2, netList); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
grouteChan.c:1094:17: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable=] 1094 | GCRChannel *ch; | ^~ -
grouteChan.c:253:5: warning: ‘mesg’ may be used uninitialized [-Wmaybe-uninitialized] 253 | DBWFeedbackAdd(&r, mesg, EditCellUse->cu_def, 1, STYLE_OUTLINEHIGHLIGHTS); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
grouteCrss.c:298:34: warning: variable ‘max’ set but not used [-Wunused-but-set-variable=] 298 | int outSide, origin, lo, hi, max, start, n, nhi; | ^~~ -
grouteCrss.c:322:17: warning: ‘outSide’ may be used uninitialized [-Wmaybe-uninitialized] 322 | if (outSide == GEO_NORTH || outSide == GEO_SOUTH)
-
../grouter/grouter.h:211:31: warning: ‘opposite’ may be used uninitialized [-Wmaybe-uninitialized] 211 | #define PINOK(pin) ((pin)->gcr_pId == NULL && (pin)->gcr_linked) | ~~~~~^~~~~~~~~ -
grouteCrss.c:530:36: warning: ‘linkedPin’ may be used uninitialized [-Wmaybe-uninitialized] 530 | newPath->gl_pin = linkedPin->gcr_linked; | ~~~~~~~~~^~~~~~~~~~~~ -
../grouter/grouter.h:211:31: warning: ‘outPin’ may be used uninitialized [-Wmaybe-uninitialized] 211 | #define PINOK(pin) ((pin)->gcr_pId == NULL && (pin)->gcr_linked) | ~~~~~^~~~~~~~~ -
groutePath.c:20:13: warning: ‘sccsid’ defined but not used [-Wunused-variable] 20 | static char sccsid[] = "@(#)groutePoint.c 4.9 MAGIC (Berkeley) 12/6/85"; | ^~~~~~ -
groutePen.c:890:16: warning: unused variable ‘nc’ [-Wunused-variable] 890 | NetClient *nc = (NetClient *) net->nnet_cdata; | ^~ -
grouteTest.c:371:8: warning: ‘name’ may be used uninitialized [-Wmaybe-uninitialized] 371 | if (name && DebugIsSet(glDebugID, glDebMaze)) | ^ -
grouteTest.c:383:5: warning: ‘style’ may be used uninitialized [-Wmaybe-uninitialized] 383 | ShowRect(EditCellUse->cu_def, &r, style); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
irRoute.c:387:21: warning: unused variable ‘finalRL’ [-Wunused-variable] 387 | RouteLayer *finalRL = path->rp_rLayer; | ^~~~~~~ -
irRoute.c:764:14: warning: unused variable ‘cellDef’ [-Wunused-variable] 764 | CellDef *cellDef = cellUse->cu_def; | ^~~~~~~ -
mzBlock.c:591:14: warning: unused variable ‘tt’ [-Wunused-variable] 591 | TileType tt = TiGetType(tile); | ^~ -
mzDebug.c:534:20: warning: unused variable ‘scx’ [-Wunused-variable] 534 | SearchContext *scx = cxp->tc_scx; | ^~~ -
mzEstimate.c:1528:11: warning: unused variable ‘t’ [-Wunused-variable] 1528 | Tile *t; | ^ -
mzEstimate.c:2000:18: warning: unused variable ‘str’ [-Wunused-variable] 2000 | char str[100]; | ^~~ -
mzEstimate.c:2022:18: warning: unused variable ‘str’ [-Wunused-variable] 2022 | char str[100]; | ^~~ -
../tiles/tile.h:366:20: warning: ‘tLoc’ may be used uninitialized [-Wmaybe-uninitialized] 366 | for ((tResult) = BL(t); TOP(tResult) <= (y); (tResult) = RT(tResult)) \ | ^ -
../tiles/tile.h:362:43: warning: ‘loc.p_x’ may be used uninitialized [-Wmaybe-uninitialized] 362 | for ((tResult) = RT(t); LEFT(tResult) > (x); (tResult) = BL(tResult)) \ | ^ -
../tiles/tile.h:366:42: warning: ‘loc.p_y’ may be used uninitialized [-Wmaybe-uninitialized] 366 | for ((tResult) = BL(t); TOP(tResult) <= (y); (tResult) = RT(tResult)) \ | ^ -
mzMain.c:675:18: warning: unused variable ‘dTerm’ [-Wunused-variable] 675 | ColoredRect *dTerm; | ^~~~~ -
mzMain.c:888:43: warning: variable ‘cdist2’ set but not used [-Wunused-but-set-variable=] 888 | int pathlength, hdist, vdist, cdist1, cdist2; | ^~~~~~ -
mzMain.c:887:29: warning: variable ‘ctype2’ set but not used [-Wunused-but-set-variable=] 887 | TileType ctype, ctype1, ctype2; | ^~~~~~ -
mzStart.c:96:11: warning: unused variable ‘tp’ [-Wunused-variable] 96 | Tile *tp; | ^~ -
mzSubrs.c:593:15: warning: unused variable ‘pNumC’ [-Wunused-variable] 593 | int pNum, pNumC, cWidth; | ^~~~~ -
mzWalk.c:183:16: warning: variable ‘rtype’ set but not used [-Wunused-but-set-variable=] 183 | RouteType *rtype; /* Structure of material type at destination */ | ^~~~~ -
mzWalk.c:422:16: warning: variable ‘rtype’ set but not used [-Wunused-but-set-variable=] 422 | RouteType *rtype; /* Structure of material at destination */ | ^~~~~ -
mzWalk.c:538:9: warning: unused variable ‘extendCode’ [-Wunused-variable] 538 | int extendCode; /* Interesting directions to extend in */ | ^~~~~~~~~~ -
mzWalk.c:625:9: warning: unused variable ‘extendCode’ [-Wunused-variable] 625 | int extendCode; /* Interesting directions to extend in */ | ^~~~~~~~~~ -
rtrCmd.c:271:11: warning: unused variable ‘f’ [-Wunused-variable] 271 | FILE *f; | ^ -
rtrPaint.c:589:12: warning: ‘pin’ may be used uninitialized [-Wmaybe-uninitialized] 589 | if (pin->gcr_linked == NULL) | ~~~^~~~~~~~~~~~ -
rtrPaint.c:539:19: warning: ‘needLowX’ may be used uninitialized [-Wmaybe-uninitialized] 539 | if(needLowX) col[bottom]|=GCRX; | ^ -
rtrPaint.c:437:18: warning: ‘bottom’ may be used uninitialized [-Wmaybe-uninitialized] 437 | int x, y, i, bottom, top; | ^~~~~~ -
rtrPin.c:405:13: warning: variable ‘area’ set but not used [-Wunused-but-set-variable=] 405 | Rect r, area; | ^~~~ -
../router/router.h:159:23: warning: ‘origin’ may be used uninitialized [-Wmaybe-uninitialized] 159 | ( ((x)-(o)) % RtrGridSpacing ) \ | ~~~~^~~~~ -
../tiles/tile.h:96:45: warning: ‘tpB’ may be used uninitialized [-Wmaybe-uninitialized] 96 | #define BOTTOM(tp) ((tp)->ti_ll.p_y)
-
rtrStem.c:660:21: warning: unused variable ‘tmp2’ [-Wunused-variable] 660 | Rect tmp, tmp1, tmp2; | ^~~~ -
rtrStem.c:491:13: warning: ‘lo’ may be used uninitialized [-Wmaybe-uninitialized] 491 | for ( ; *lo >= si->stem_lo || *hi <= si->stem_hi; | ^~~ -
rtrStem.c:491:35: warning: ‘hi’ may be used uninitialized [-Wmaybe-uninitialized] 491 | for ( ; *lo >= si->stem_lo || *hi <= si->stem_hi; | ^~~ -
rtrTravers.c:557:56: warning: ‘tt2’ may be used uninitialized [-Wmaybe-uninitialized] 557 | if (DBIsContact(tt0) && (tt1 == rtrReplace) && DBIsContact(tt2)) | ^~~~~~~~~~~~~~~~ -
gcrDebug.c:78:10: warning: unused variable ‘box’ [-Wunused-variable] 78 | Rect box; | ^~~ -
gcrDebug.c:76:15: warning: unused variable ‘trans’ [-Wunused-variable] 76 | Transform trans; | ^~~~~ -
gcrDebug.c:257:16: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 257 | (void) fscanf(fp, "%"DLONG_PREFIX"d", &pointer_bits); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
gcrDebug.c:1004:20: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1004 | (void) fgets(buff, 512, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~ -
gcrFeas.c:141:51: warning: ‘topTarget’ may be used uninitialized [-Wmaybe-uninitialized] 140 | if( !(failedBot) && (topNet!=(GCRNet *) NULL) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | !(failedTop) && (botNet!=(GCRNet *) NULL) && (botTarget>=topTarget) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -
tclmagic.c:318:7: warning: typedef ‘tagOption’ locally defined but not used [-Wunused-local-typedefs] 318 | } tagOption; | ^~~~~~~~~ -
tclmagic.c:421:7: warning: typedef ‘conflictCommand’ locally defined but not used [-Wunused-local-typedefs] 421 | } conflictCommand; | ^~~~~~~~~~~~~~~ -
tclmagic.c:543:11: warning: unused variable ‘tkpath’ [-Wunused-variable] 543 | char *tkpath; | ^~~~~~ -
tclmagic.c:701:9: warning: unused variable ‘result’ [-Wunused-variable] 701 | int result; | ^~~~~~ -
tclmagic.c:697:12: warning: unused variable ‘i’ [-Wunused-variable] 697 | int n, i; | ^ -
tclmagic.c:1132:9: warning: unused variable ‘charsStored’ [-Wunused-variable] 1132 | int charsStored; | ^~~~~~~~~~~ -
tclmagic.c:1311:41: warning: unused variable ‘limit’ [-Wunused-variable] 1311 | int i, nchars, result, escapes = 0, limit; | ^~~~~ -
tclmagic.c:1457:20: warning: unused variable ‘i’ [-Wunused-variable] 1457 | int bytesRead, i, tlen; | ^ -
tclmagic.c:1534:22: warning: variable ‘clen’ set but not used [-Wunused-but-set-variable=] 1534 | size_t dlen, clen; | ^~~~ -
tclmagic.c:1534:16: warning: variable ‘dlen’ set but not used [-Wunused-but-set-variable=] 1534 | size_t dlen, clen; | ^~~~ -
tclmagic.c:1537:16: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4077 [-Wformat-truncation=] 1537 | clen = snprintf(cmd, sizeof(cmd), "lappend auto_path {%s}", dir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
tclmagic.c:1325:9: warning: ‘strncpy’ output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] 1325 | strncpy(bigstr, outptr, 24); | ^ -
tclmagic.c:1345:9: warning: ‘strncpy’ output may be truncated copying 24 bytes from a string of length 127 [-Wstringop-truncation] 1345 | strncpy(finalstr, outptr, 24); | ^ -
../ext2sim/ext2sim.c:184:24: warning: type of ‘devMergeList’ does not match original declaration [-Wlto-type-mismatch] 184 | extern const devMerge *devMergeList; | ^ -
../commands/../cif/cif.h:90:13: warning: type of ‘PaintWireList’ does not match original declaration [-Wlto-type-mismatch] 90 | extern void PaintWireList(Point *pointlist, int number, int width, int endcap, Plane *plane, | ^ -
../commands/../cif/cif.h:92:20: warning: type of ‘PaintPolygon’ does not match original declaration [-Wlto-type-mismatch] 92 | extern LinkedRect *PaintPolygon(Point *pointlist, int number, Plane *plane, PaintResultType *ptable, | ^ -
../commands/../cif/cif.h:76:13: warning: type of ‘CIFSeeHierLayer’ does not match original declaration [-Wlto-type-mismatch] 76 | extern void CIFSeeHierLayer(CellDef *rootDef, Rect *area, char *layer, int arrays, int subcells); | ^ -
../extflat/EFname.c:526:32: warning: ‘strlen’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread] 526 | last2 = hierName2->hn_name[strlen(hierName2->hn_name) - 1]; | ^ -
magicexec.c:66:16: warning: variable ‘rlen’ set but not used [-Wunused-but-set-variable=] 66 | size_t rlen; | ^~~~ -
magicdnull.c:36:16: warning: variable ‘rlen’ set but not used [-Wunused-but-set-variable=] 36 | size_t rlen; | ^~~~