Project

General

Profile

Actions

Bug #8836

closed

libsum: 'id' defined 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-20
Due date:
% Done:

100%

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

Description

Debug build error from gcc 6:

    ../common/sumlib.c:28:19: error: 'id' defined but not used [-Werror=unused-const-variable=]
     static const char id[] = "\n@(#)$Id: sumlib (AT&T Research) 2009-09-28 $\0\n";
                       ^~
    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 3c0e18f37537a4cc1475e6f715030b5457141261

commit  3c0e18f37537a4cc1475e6f715030b5457141261
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-27T16:05:17.000Z

    8836 libsum: 'id' defined but not used
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF