Actions
Bug #8819
closedx86 unix: variable set but not used
Start date:
2017-11-19
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
Debug mode build errors from gcc 6:
../../common/vm/vm_pagelist.c: In function 'page_geti_contig_pages': ../../common/vm/vm_pagelist.c:3430:9: error: variable 'color_mask' set but not used [-Werror=unused-but-set-variable] uint_t color_mask; ^~~~~~~~~~ ../../i86pc/os/lgrpplat.c: In function 'opt_probe_vendor': ../../i86pc/os/lgrpplat.c:3631:18: error: variable 'dev_vendor' set but not used [-Werror=unused-but-set-variable] volatile uint_t dev_vendor; ^~~~~~~~~~ ../../i86pc/vm/hat_kdi.c: In function 'hat_kdi_init': ../../i86pc/vm/hat_kdi.c:80:12: error: variable 'ht' set but not used [-Werror=unused-but-set-variable] htable_t *ht; ^~ cc1: all warnings being treated as errors
Updated by Electric Monk over 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 8f33f62fe3b6ef9b5f9a849a5d2081f34e048be2
commit 8f33f62fe3b6ef9b5f9a849a5d2081f34e048be2 Author: Toomas Soome <tsoome@me.com> Date: 2017-12-13T19:37:28.000Z 8819 x86 unix: variable set but not used Reviewed by: Ken Mays <maybird1776@yahoo.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Alexander Pyhalov <apyhalov@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Actions