summaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-02-13 08:50:25 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-13 11:54:57 -0500
commitf88c905c905286e8526cee80aaaa5c24adb2712f (patch)
tree413146ad3c960ccbf3f50227bb53624f453c136f /src/db
parent43290d8a1d714ea4fd9eaf6ee39cb2f856f76990 (diff)
downloadsssd-f88c905c905286e8526cee80aaaa5c24adb2712f.tar.gz
sssd-f88c905c905286e8526cee80aaaa5c24adb2712f.tar.xz
sssd-f88c905c905286e8526cee80aaaa5c24adb2712f.zip
Fix uninitialized in_transaction
Coverity #12521 and #12491
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sysdb_services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_services.c b/src/db/sysdb_services.c
index 425e9ed71..693263099 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) {