summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ldb/common/ldb.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/ldb/common/ldb.c b/lib/ldb/common/ldb.c
index 4a0d8043cc..cd6172a1e8 100644
--- a/lib/ldb/common/ldb.c
+++ b/lib/ldb/common/ldb.c
@@ -564,11 +564,6 @@ static int ldb_autotransaction_request(struct ldb_context *ldb,
}
ldb_transaction_cancel(ldb);
- if (ldb->err_string == NULL) {
- /* no error string was setup by the backend */
- ldb_asprintf_errstring(ldb, "%s (%d)", ldb_strerror(ret), ret);
- }
-
return ret;
}