diff options
author | Toomas Soome <tsoome@me.com> | 2017-08-08 17:09:08 +0300 |
---|---|---|
committer | Hans Rosenfeld <hans.rosenfeld@joyent.com> | 2017-11-23 12:35:38 +0100 |
commit | ff7e8ba86ba6352405bed47d89bd49c659eb6871 (patch) | |
tree | 7794b5e1180f02d088fd2ae87b329ddb56a72610 /usr/src/lib/pam_modules/sample | |
parent | 8c69cc8fbe729fa7b091e901c4b50508ccc6bb33 (diff) | |
download | illumos-gate-ff7e8ba86ba6352405bed47d89bd49c659eb6871.tar.gz |
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>
Diffstat (limited to 'usr/src/lib/pam_modules/sample')
-rw-r--r-- | usr/src/lib/pam_modules/sample/sample_acct_mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c b/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c index c02a01289b..f8889c6d81 100644 --- a/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c +++ b/usr/src/lib/pam_modules/sample/sample_acct_mgmt.c @@ -52,9 +52,9 @@ pam_sm_acct_mgmt( char *pg; int i; /*LINTED - set but not used. Would be used in a real module. */ - int debug = 0; + int debug __unused = 0; /*LINTED - set but not used. Would be used in a real module. */ - int nowarn = 0; + int nowarn __unused = 0; int error = 0; if (argc == 0) |