summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-29 23:42:44 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 23:42:41 +0100
commit99ba74b75ead69019e2982a6d8f94b625e4ba7c1 (patch)
tree4645f341a168e8a74be95d2f19100b07da82d981 /source3/lib
parent42f832548d66245a16d7ec369494afb0bfc45425 (diff)
downloadsamba-99ba74b75ead69019e2982a6d8f94b625e4ba7c1.tar.gz
samba-99ba74b75ead69019e2982a6d8f94b625e4ba7c1.tar.bz2
samba-99ba74b75ead69019e2982a6d8f94b625e4ba7c1.zip
s3: Fix a "not handled in switch" warning
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ldb/ldb_tdb/ldb_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/ldb/ldb_tdb/ldb_tdb.c b/source3/lib/ldb/ldb_tdb/ldb_tdb.c
index 27cc0c69c6..6bebb6df1c 100644
--- a/source3/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/source3/lib/ldb/ldb_tdb/ldb_tdb.c
@@ -59,6 +59,7 @@ static int ltdb_err_map(enum TDB_ERROR tdb_code)
case TDB_ERR_CORRUPT:
case TDB_ERR_OOM:
case TDB_ERR_EINVAL:
+ case TDB_ERR_NESTING:
return LDB_ERR_OPERATIONS_ERROR;
case TDB_ERR_IO:
return LDB_ERR_PROTOCOL_ERROR;