Project

General

Profile

Actions

Bug #8770

closed

lofiadm: variable 'btMode' 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:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

Debug build error from gcc 6:

    /code/illumos-gate/usr/src/common/lzma/LzmaEnc.c: In function 'LzmaEnc_Alloc':
    /code/illumos-gate/usr/src/common/lzma/LzmaEnc.c:1921:8: error: variable 'btMode' set but not used [-Werror=unused-but-set-variable]
       Bool btMode;
            ^~~~~~
    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 6e573db1dd63b3b24579b7ceee32de57c994405c

commit  6e573db1dd63b3b24579b7ceee32de57c994405c
Author: Toomas Soome <tsoome@me.com>
Date:   2017-11-16T20:28:50.000Z

    8770 lofiadm: variable 'btMode' set but not used
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
    Reviewed by: Yuri Pankov <yuripv@gmx.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF