diff options
author | Rich Megginson <rmeggins@redhat.com> | 2010-08-31 21:17:30 -0600 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2010-09-01 11:50:05 -0600 |
commit | e89048c403090ad87ff0ee963f09865945196dbc (patch) | |
tree | 5b6fe33825f8b75419f7d58315e43c879392244c /lib/base | |
parent | 481ed4a2b5ccd8da5fdff445d36389a546593297 (diff) | |
download | ds-warnings.tar.gz ds-warnings.tar.xz ds-warnings.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/base')
-rw-r--r-- | lib/base/crit.cpp | 2 | ||||
-rw-r--r-- | lib/base/ereport.cpp | 2 | ||||
-rw-r--r-- | lib/base/util.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/base/crit.cpp b/lib/base/crit.cpp index 1a1286c2..3f705ed3 100644 --- a/lib/base/crit.cpp +++ b/lib/base/crit.cpp @@ -56,7 +56,7 @@ #include "crit.h" #include "pool.h" -#include "base/dbtbase.h" +/* #include "base/dbtbase.h" */ #ifdef USE_NSPR /* 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 <stdarg.h> #include <stdio.h> /* vsprintf */ diff --git a/lib/base/util.cpp b/lib/base/util.cpp index d3a7c330..8635cbc7 100644 --- a/lib/base/util.cpp +++ b/lib/base/util.cpp @@ -56,7 +56,7 @@ #include "base/util.h" -#include "base/dbtbase.h" +/* #include "base/dbtbase.h" */ #ifdef XP_UNIX |