Actions
Bug #8848
closedhbaapi: variable set but not used
Start date:
2017-11-21
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Debug build error from gcc 6:
../common/HBAAPILIB.c: In function 'HBA_LoadLibrary': ../common/HBAAPILIB.c:518:17: error: variable 'libversion' set but not used [-Werror=unused-but-set-variable] HBA_UINT32 libversion; ^~~~~~~~~~ ../common/HBAAPILIB.c: In function 'HBA_FreeLibrary': ../common/HBAAPILIB.c:877:17: error: variable 'status' set but not used [-Werror=unused-but-set-variable] HBA_STATUS status; ^~~~~~ cc1: all warnings being treated as errors
Updated by Electric Monk over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit f6969e9b236c140638ae16b1d5c8dff401e31465
commit f6969e9b236c140638ae16b1d5c8dff401e31465 Author: Toomas Soome <tsoome@me.com> Date: 2017-12-13T19:37:28.000Z 8848 hbaapi: variable set but not used Reviewed by: ken mays <maybird1776@yahoo.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Dan McDonald <danmcd@joyent.com>
Actions