Bug #8760
closed
troff: variable 'type' set but not used
Added by Toomas Soome over 4 years ago.
Updated over 4 years ago.
Category:
cmd - userland programs
Description
Debug mode build error with gcc 6:
../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
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit c5fe87b82a0473350759338e29252322c7f49f28
commit c5fe87b82a0473350759338e29252322c7f49f28
Author: Toomas Soome <tsoome@me.com>
Date: 2018-01-23T15:21:41.000Z
8760 troff: variable 'type' set but not used
Reviewed by: C Fraire <cfraire@me.com>
Reviewed by: Yuri Pankov <yuripv@icloud.com>
Reviewed by: John Howard <Echosoft.LLC@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Also available in: Atom
PDF