Project

General

Profile

Actions

Bug #8734

closed

prof: variable 's_inv' set but not used

Added by Toomas Soome almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2017-10-27
Due date:
% Done:

100%

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

Description

Debug build error with gcc 6:

    ../common/prof.c: In function 'main':
    ../common/prof.c:355:7: error: variable 's_inv' set but not used [-Werror=unused-but-set-variable]
      long s_inv; /* Inverse: i_inv(i) = */
           ^~~~~
    cc1: all warnings being treated as errors
Actions #1

Updated by Electric Monk over 4 years ago

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

git commit c3f7a870373b38f01b2fb5e6ec30cb456c90ad32

commit  c3f7a870373b38f01b2fb5e6ec30cb456c90ad32
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-29T17:17:29.000Z

    8734 prof: variable 's_inv' set but not used
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Reviewed by: C Fraire <cfraire@me.com>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF