Project

General

Profile

Actions

Bug #8760

closed

troff: variable 'type' set but not used

Added by Toomas Soome about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-11-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

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

Actions #1

Updated by Electric Monk almost 6 years ago

  • 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>

Actions

Also available in: Atom PDF