From: Ben Pfaff Date: Sun, 7 Jun 2009 03:30:14 +0000 (-0700) Subject: crosstabs: Fix segfault when chi-square was requested. X-Git-Tag: v0.7.3~57 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a1db0dd8deb893e19c00cdf30d8eae58c2f00e;p=pspp-builds.git crosstabs: Fix segfault when chi-square was requested. Bug #26739. --- diff --git a/src/language/stats/crosstabs.q b/src/language/stats/crosstabs.q index 907868c0..700f02c1 100644 --- a/src/language/stats/crosstabs.q +++ b/src/language/stats/crosstabs.q @@ -1271,7 +1271,6 @@ create_chisq_table (struct pivot_table *pt) _("Exact. Sig. (2-sided)")); tab_text (chisq, 5, 0, TAB_RIGHT | TAT_TITLE, _("Exact. Sig. (1-sided)")); - chisq = 0; tab_offset (chisq, 0, 1); return chisq;