Fix a few "might be uninitialized" errors
[samba.git] / source4 / auth / sam.c
index 1445adf226121c37908d5d70f532a8d4a137a79c..bd8219d733525d42b49e1740f4b0e528023486d1 100644 (file)
@@ -1581,7 +1581,7 @@ NTSTATUS authsam_logon_success_accounting(struct ldb_context *sam_ctx,
        NTTIME sync_interval_nt = 0;
        bool am_rodc = false;
        bool txn_active = false;
-       bool need_db_reread;
+       bool need_db_reread = false;
 
        mem_ctx = talloc_new(msg);
        if (mem_ctx == NULL) {