From ae765daed93b64b9b4177466a2191561b6734e63 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 13 Feb 2012 08:50:25 -0500 Subject: Fix uninitialized in_transaction Coverity #12521 and #12491 --- src/db/sysdb_services.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/sysdb_services.c') 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) { -- cgit