Project

General

Profile

Actions

Bug #8838

closed

libxcurses: variable 'code' set but not used

Added by Toomas Soome almost 6 years ago. Updated almost 6 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:
External Bug:

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 #1

Updated by Electric Monk almost 6 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit bd64ab839d994fbc07f126ff254a4bf3c12524b7

commit  bd64ab839d994fbc07f126ff254a4bf3c12524b7
Author: Toomas Soome <tsoome@me.com>
Date:   2017-12-11T15:21:16.000Z

    8838 libxcurses: variable 'code' set but not used
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF