Project

General

Profile

Actions

Bug #8769

closed

mv: variable 'rc' 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-06
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

Debug build error with gcc 6:

    mv.c: In function 'chg_time':
    mv.c:1357:6: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
      int rc;
          ^~
    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 dfe02591ce4c15a40d7babbf85ceb4125485779d

commit  dfe02591ce4c15a40d7babbf85ceb4125485779d
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-16T15:43:11.000Z

    8769 mv: variable 'rc' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF