8760 troff: variable 'type' set but not used
Review Request #701 — Created Nov. 4, 2017 and submitted
Information | |
---|---|
tsoome | |
illumos-gate | |
8760 | |
13c81fc... | |
Reviewers | |
general | |
../n9.c: In function 'setdraw':
../n9.c:314:44: error: variable 'type' set but not used [-Werror=unused-but-set-variable]
int i, j, k, dx[NPAIR], dy[NPAIR], delim, type;
^~
cc1: all warnings being treated as errors
-
-
usr/src/cmd/troff/n9.c (Diff revision 1) Maybe we should cast this to (void) rather than assign it to a variable, but leave a comment saying that this is important for making sure that we properly consume the input?
Description: |
|
---|