Actions
Bug #8820
closedpam_modules: variable set but not used
Start date:
2017-11-19
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
Debug mode build error from gcc 6:
../sample_acct_mgmt.c:57:6: error: variable 'nowarn' set but not used [-Werror=unused-but-set-variable] int nowarn = 0; ^~~~~~ ../sample_acct_mgmt.c:55:6: error: variable 'debug' set but not used [-Werror=unused-but-set-variable] int debug = 0; ^~~~~ 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 ff7e8ba86ba6352405bed47d89bd49c659eb6871
commit ff7e8ba86ba6352405bed47d89bd49c659eb6871 Author: Toomas Soome <tsoome@me.com> Date: 2017-11-23T11:35:38.000Z 8820 pam_modules: variable set but not used Reviewed by: Yuri Pankov <yuripv@gmx.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Actions