8820 pam_modules: variable set but not used

Review Request #747 — Created Nov. 19, 2017 and submitted — Latest diff uploaded

tsoome
illumos-gate
8820
27fd497...
general
../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


Loading...