Project

General

Profile

Actions

Bug #8847

closed

libadm: variable 'daynum' set but not used

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

    ../common/ckdate.c: In function 'p_eday':
    ../common/ckdate.c:118:7: error: variable 'daynum' set but not used [-Werror=unused-but-set-variable]
      char daynum[3];
           ^~~~~~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk almost 5 years ago

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

git commit 1d2945e8b51a96806bfb1bc3cb0b1cf6732925e4

commit  1d2945e8b51a96806bfb1bc3cb0b1cf6732925e4
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-27T16:21:14.000Z

    8847 libadm: variable 'daynum' set but not used
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF