From 2116aa79e9c2c7e808c2d82e2f8787543c5c0887 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien <hr@openoffice.org> Date: Mon, 19 Jun 2006 23:39:06 +0000 Subject: INTEGRATION: CWS warnings01 (1.3.18); FILE MERGED 2005/12/15 16:36:42 ab 1.3.18.1: #i53898# Removed warnings for unxlngi6/unxlngi6.pro --- xmlhelp/source/cxxhelp/provider/db.cxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'xmlhelp') diff --git a/xmlhelp/source/cxxhelp/provider/db.cxx b/xmlhelp/source/cxxhelp/provider/db.cxx index b5a7be95edba..b3d5271b47d2 100644 --- a/xmlhelp/source/cxxhelp/provider/db.cxx +++ b/xmlhelp/source/cxxhelp/provider/db.cxx @@ -4,9 +4,9 @@ * * $RCSfile: db.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-09 12:19:11 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:39:06 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -43,10 +43,12 @@ namespace berkeleydbproxy { //---------------------------------------------------------------------------- namespace db_internal { - static void raise_error(int dberr, const char * where); + // static void raise_error(int dberr, const char * where); static inline int check_error(int dberr, const char * where) { + (void)where; + // if (dberr) raise_error(dberr,where); return dberr; } @@ -267,6 +269,7 @@ void Dbt::set_flags(u_int32_t value) } //---------------------------------------------------------------------------- +/* void db_internal::raise_error(int dberr, const char * where) { if (!where) where = "<unknown>"; @@ -280,6 +283,7 @@ void db_internal::raise_error(int dberr, const char * where) throw DbException(msg); } +*/ //---------------------------------------------------------------------------- } // namespace ecomp -- cgit