Project

General

Profile

Bug #10804

Enable unused warnings outside of uts

Added by John Levon 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2019-04-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

History

#1

Updated by John Levon 3 months ago

Makefile.master has -Wno-unused and -Wno-empty-body defined for non-DEBUG builds. But, outside of uts, which already has its own defines, we actually only need these in a few places.

#2

Updated by Electric Monk 3 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 32e09e17e4529edf39ffb44fb13cdb6a0fb45733

commit  32e09e17e4529edf39ffb44fb13cdb6a0fb45733
Author: John Levon <john.levon@joyent.com>
Date:   2019-04-24T15:32:04.000Z

    10804 Enable unused warnings outside of uts
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF