summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Steinert <[email protected]>2024-01-31 12:02:53 -0600
committerGitHub <[email protected]>2024-01-31 12:02:53 -0600
commite707495124603f49bf9e22edb93b93dcc65e3a03 (patch)
tree3e08d12d51ec7f7b3396b09419e66ed44f861e61
parent0ba49d9719c3c1d2b2e8654277450658e888dc42 (diff)
parentd11b37f2fea7d0c6b69268bfeeb190eca54ad730 (diff)
Merge pull request #22 from 3v1n0/prevent-unused-varHEADmaster
transaction: Ignore unused variable warnings
-rw-r--r--transaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/transaction.go b/transaction.go
index 9fee575..dc2d378 100644
--- a/transaction.go
+++ b/transaction.go
@@ -1,7 +1,7 @@
// Package pam provides a wrapper for the PAM application API.
package pam
-//#cgo CFLAGS: -Wall -std=c99
+//#cgo CFLAGS: -Wall -Wno-unused-variable -std=c99
//#cgo LDFLAGS: -lpam
//
//#include <security/pam_appl.h>