Project

General

Profile

Actions

Bug #8838

closed

libxcurses: variable 'code' set but not used

Added by Toomas Soome about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2017-11-21
Due date:
% Done:

100%

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

Description

Debug build error from gcc 6:

    ../src/libc/xcurses/overlay.c: In function 'overlay':
    ../src/libc/xcurses/overlay.c:51:6: error: variable 'code' set but not used [-Werror=unused-but-set-variable]
      int code;
          ^~~~
    ../src/libc/xcurses/overlay.c: In function 'overwrite':
    ../src/libc/xcurses/overlay.c:67:6: error: variable 'code' set but not used [-Werror=unused-but-set-variable]
      int code;
          ^~~~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF