Project

General

Profile

Bug #9975

loader.efi: unused variable 'err'

Added by Toomas Soome about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bootloader
Start date:
2018-11-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error with warnings enabled:

    ../env.c: In function 'command_efi_set':
    ../env.c:917:13: error: unused variable 'err' [-Werror=unused-variable]
      EFI_STATUS err;
                 ^~~
    ../env.c: In function 'command_efi_unset':
    ../env.c:954:13: error: unused variable 'err' [-Werror=unused-variable]
      EFI_STATUS err;
                 ^~~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk about 1 year ago

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

git commit 2b811402e28c1eea57dd7a5e98c7f1c72637ffd9

commit  2b811402e28c1eea57dd7a5e98c7f1c72637ffd9
Author: Toomas Soome <tsoome@me.com>
Date:   2018-12-03T14:31:37.000Z

    9975 loader.efi: unused variable 'err'
    Reviewed by: Igor Kozhukhov <igor@dilos.org>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF