Project

General

Profile

Bug #10296

ficl: unused parameter vm in ficlDebugPrompt

Added by Toomas Soome 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2019-01-27
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Build error with warnings enabled:

    /code/illumos-gate/usr/src/common/ficl/tools.c:106:25: error: unused parameter 'vm' [-Werror=unused-parameter]
     ficlDebugPrompt(ficlVm *vm, int debug)
                             ^~
    cc1: all warnings being treated as errors

Since this is local function, remove the unused parameter.

History

#1

Updated by Electric Monk 11 months ago

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

git commit 1fb83a8f4f86641886ceec86db9bd430ef9b046b

commit  1fb83a8f4f86641886ceec86db9bd430ef9b046b
Author: Toomas Soome <tsoome@me.com>
Date:   2019-01-31T22:04:30.000Z

    10296 ficl: unused parameter vm in ficlDebugPrompt
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>

Also available in: Atom PDF