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/base/ereport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/base/ereport.cpp') diff --git a/lib/base/ereport.cpp b/lib/base/ereport.cpp index ba3df4e5..26783f8f 100644 --- a/lib/base/ereport.cpp +++ b/lib/base/ereport.cpp @@ -54,7 +54,7 @@ #include "ereport.h" #include "slapi-plugin.h" -#include "base/dbtbase.h" +/* #include "base/dbtbase.h" */ #include #include /* vsprintf */ -- cgit