Project

General

Profile

Actions

Bug #8760

closed

troff: variable 'type' set but not used

Added by Toomas Soome over 4 years ago. Updated over 4 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:

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

Also available in: Atom PDF