diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-30 21:58:11 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-05-30 23:13:09 +0200 |
commit | 327fa70f3fe2f3917df509f783822a3b42a266f0 (patch) | |
tree | 62f829913d6b40d0be52d6e578d4252758785494 /source4 | |
parent | 463d5f0afc5b378bf8143558b8b8f372680f9768 (diff) | |
download | samba-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')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_tdb.c | 2 |
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; } |