From e89048c403090ad87ff0ee963f09865945196dbc Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 31 Aug 2010 21:17:30 -0600 Subject: fix compiler warnings - unused vars/funcs, invalid casts This commit fixes many compiler warnings, mostly for things like unused variables, functions, goto labels. One place was using csngen_free instead of csn_free. A couple of places were using casts incorrectly, and several places needed some casts added. --- lib/libaccess/aclpriv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/libaccess/aclpriv.h') diff --git a/lib/libaccess/aclpriv.h b/lib/libaccess/aclpriv.h index a95b3637..8744ef02 100644 --- a/lib/libaccess/aclpriv.h +++ b/lib/libaccess/aclpriv.h @@ -61,6 +61,7 @@ #define ACL_MIN_IDX 0 #define ACL_EXPR_STACK 1024 #define ACL_TABLE_THRESHOLD 10 +#define ACL_NO_UNPUT 1 /* unput is not used and causes compiler warnings */ typedef enum { ACL_EXPR_OP_AND, -- cgit