From ea408efe551ad837b08423f6d32b5433ab8dfe2b 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. Tested on: RHEL5 x86_64, Fedora 14 x86_64 Reviewed by: nkinder (Thanks!) --- lib/base/crit.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/base/crit.cpp') diff --git a/lib/base/crit.cpp b/lib/base/crit.cpp index 1a1286c2..2aa9b5ac 100644 --- a/lib/base/crit.cpp +++ b/lib/base/crit.cpp @@ -56,13 +56,7 @@ #include "crit.h" #include "pool.h" -#include "base/dbtbase.h" - #ifdef USE_NSPR -/* -#include "prmon.h" -#include "private/primpl.h" -*/ #include "nspr.h" #include "prthread.h" -- cgit