summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb_services.c2
-rw-r--r--src/providers/ldap/sdap_async_services.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/db/sysdb_services.c b/src/db/sysdb_services.c
index 425e9ed7..69326309 100644
--- a/src/db/sysdb_services.c
+++ b/src/db/sysdb_services.c
@@ -652,7 +652,7 @@ sysdb_svc_delete(struct sysdb_ctx *sysdb,
TALLOC_CTX *tmp_ctx;
struct ldb_result *res;
unsigned int i;
- bool in_transaction;
+ bool in_transaction = false;
tmp_ctx = talloc_new(NULL);
if (!tmp_ctx) {
diff --git a/src/providers/ldap/sdap_async_services.c b/src/providers/ldap/sdap_async_services.c
index bde5820d..b472e407 100644
--- a/src/providers/ldap/sdap_async_services.c
+++ b/src/providers/ldap/sdap_async_services.c
@@ -260,7 +260,7 @@ sdap_save_services(TALLOC_CTX *mem_ctx,
errno_t ret, sret;
time_t now;
size_t i;
- bool in_transaction;
+ bool in_transaction = false;
char *higher_usn = NULL;
char *usn_value;
TALLOC_CTX *tmp_ctx;