Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-96983

Revisit disabling -Wunused-function

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability

      We currently disable -Wunused-function which probably prevents us from finding a fair amount of dead code. The inline documentation suggests that turning it on is "noisy," but doesn't elaborate. Code coverage is less accurate of a reading when dead code permeates a codebase, so if we're going to start using code coverage as a metric to track testing quality, we should try to reenable this flag and resolve any warnings it produces.

            Assignee:
            Unassigned Unassigned
            Reporter:
            james.bronsted@mongodb.com James Bronsted
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: