File pacemaker-crm_resource-data-set-initialized.patch of Package pacemaker.14737
commit 8e6e9bb1163d91852aa7ab05bd6634bcced80713
Author: Ken Gaillot <kgaillot@redhat.com>
Date: Mon Oct 9 17:07:39 2017 -0500
Refactor: tools: ensure crm_resource data set is initialized
not really necessary, but makes static analysis happy
diff --git a/tools/crm_resource.c b/tools/crm_resource.c
index 5dac6a03e..00363b758 100644
--- a/tools/crm_resource.c
+++ b/tools/crm_resource.c
@@ -369,7 +369,7 @@ main(int argc, char **argv)
char *xml_file = NULL;
crm_ipc_t *crmd_channel = NULL;
- pe_working_set_t data_set;
+ pe_working_set_t data_set = { 0, };
cib_t *cib_conn = NULL;
bool recursive = FALSE;
char *our_pid = NULL;