From eb2eac52ef9536ba3d6d64292b768c9b3862189f Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 13 Jun 2019 17:03:00 +0200 Subject: [PATCH] quick-cluster.c Fix uninitialised variables. Gcc 7.4 issued a warning about this. --- src/language/stats/quick-cluster.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/language/stats/quick-cluster.c b/src/language/stats/quick-cluster.c index 45165f1705..fe9f40a0ae 100644 --- a/src/language/stats/quick-cluster.c +++ b/src/language/stats/quick-cluster.c @@ -651,8 +651,8 @@ quick_cluster_show_membership (struct Kmeans *kmeans, const struct casereader *reader, struct qc *qc) { - struct pivot_table *table; - struct pivot_dimension *cases; + struct pivot_table *table = NULL; + struct pivot_dimension *cases = NULL; if (qc->print_cluster_membership) { table = pivot_table_create (N_("Cluster Membership")); -- 2.30.2