diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:39:06 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:39:06 +0000 |
commit | 2116aa79e9c2c7e808c2d82e2f8787543c5c0887 (patch) | |
tree | d753c0a9af8039e01ea8adc22dbb2f29aa6260d3 /xmlhelp | |
parent | dc1d26275c0ea455409250841f00b3b25d32be8c (diff) |
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
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/db.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
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 |