summaryrefslogtreecommitdiffstats
path: root/lib/libaccess/aclcache.cpp
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2010-08-31 21:17:30 -0600
committerRich Megginson <rmeggins@redhat.com>2010-09-01 11:50:05 -0600
commite89048c403090ad87ff0ee963f09865945196dbc (patch)
tree5b6fe33825f8b75419f7d58315e43c879392244c /lib/libaccess/aclcache.cpp
parent481ed4a2b5ccd8da5fdff445d36389a546593297 (diff)
downloadds-e89048c403090ad87ff0ee963f09865945196dbc.tar.gz
ds-e89048c403090ad87ff0ee963f09865945196dbc.tar.xz
ds-e89048c403090ad87ff0ee963f09865945196dbc.zip
fix compiler warnings - unused vars/funcs, invalid castswarnings
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.
Diffstat (limited to 'lib/libaccess/aclcache.cpp')
-rw-r--r--lib/libaccess/aclcache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libaccess/aclcache.cpp b/lib/libaccess/aclcache.cpp
index 10588879..f814df7c 100644
--- a/lib/libaccess/aclcache.cpp
+++ b/lib/libaccess/aclcache.cpp
@@ -52,6 +52,7 @@
#include <libaccess/usrcache.h>
#include <libaccess/las.h>
#include "aclutil.h"
+#define NO_ACL_HASH_FUNCS
#include "permhash.h"
#include "aclcache.h"