Project

General

Profile

Bug #9767

loader: linux.c unused variable 'mem'

Added by Toomas Soome over 2 years ago. Updated over 2 years ago.

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

100%

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

Description

Build error with warnings enabled:

    linux.c: In function 'linux_loadinitrd':
    linux.c:414:14: error: unused variable 'mem' [-Werror=unused-variable]
      vm_offset_t mem;
                  ^~~
    cc1: all warnings being treated as errors

#1

Updated by Electric Monk over 2 years ago

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

git commit fec4bdb512708a1a9c886ed7f84ce353ec85b486

commit  fec4bdb512708a1a9c886ed7f84ce353ec85b486
Author: Toomas Soome <tsoome@me.com>
Date:   2018-08-28T14:28:59.000Z

    9767 loader: linux.c unused variable 'mem'
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF