summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-30 21:58:11 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-30 23:13:09 +0200
commit327fa70f3fe2f3917df509f783822a3b42a266f0 (patch)
tree62f829913d6b40d0be52d6e578d4252758785494 /source4/lib/ldb
parent463d5f0afc5b378bf8143558b8b8f372680f9768 (diff)
downloadsamba-327fa70f3fe2f3917df509f783822a3b42a266f0.tar.gz
samba-327fa70f3fe2f3917df509f783822a3b42a266f0.tar.bz2
samba-327fa70f3fe2f3917df509f783822a3b42a266f0.zip
ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code conversions
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index 8ff64797b4..42e1bd57b6 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
@@ -77,6 +77,8 @@ int ltdb_err_map(enum TDB_ERROR tdb_code)
return LDB_ERR_NO_SUCH_OBJECT;
case TDB_ERR_RDONLY:
return LDB_ERR_INSUFFICIENT_ACCESS_RIGHTS;
+ default:
+ break;
}
return LDB_ERR_OTHER;
}