Project

General

Profile

Bug #9770

loader.efi: unused variable 'cons' in comconsole.c

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

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error with warnings enabled:

    ../comconsole.c: In function 'comc_probe':
    ../comconsole.c:159:8: warning: unused variable 'cons' [-Wunused-variable]
      char *cons, *env;
            ^~~~

It is leftover variable, just remove it.

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 dd842a538534a82ca85614863fb473633d7ee59c

commit  dd842a538534a82ca85614863fb473633d7ee59c
Author: Toomas Soome <tsoome@me.com>
Date:   2018-09-04T15:09:54.000Z

    9770 loader.efi: unused variable 'cons' in comconsole.c
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF