Project

General

Profile

Actions

Bug #8764

closed

rup: variable set but not used

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

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

100%

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

Description

Debug build error from gcc6:

    rup.c: In function 'main':
    rup.c:84:17: error: variable 'bstat' set but not used [-Werror=unused-but-set-variable]
      enum clnt_stat bstat;
                     ^~~~~
    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 d7dc20313645bcb9c9960a816baebe924d60bcf3

commit  d7dc20313645bcb9c9960a816baebe924d60bcf3
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-10T15:48:26.000Z

    8764 rup: variable set but not used
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF