Project

General

Profile

Actions

Bug #8770

closed

lofiadm: variable 'btMode' set but not used

Added by Toomas Soome over 6 years ago. Updated over 6 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

Also available in: Atom PDF