npar.c: Added some missing initialisers.
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 5 Feb 2012 16:32:17 +0000 (17:32 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 5 Feb 2012 16:32:17 +0000 (17:32 +0100)
Also reorder the initialisers to the same order as their declarations

src/language/stats/npar.c

index 8d40faad0144bd9c327ee8a39c0784d5a5da0279..e277d36acccd887eee8687b925943634e0484a9e 100644 (file)
@@ -155,22 +155,26 @@ static int
 parse_npar_tests (struct lexer *lexer, struct dataset *ds, struct cmd_npar_tests *npt,
                  struct npar_specs *nps)
 {
-  npt->binomial = 0;
   npt->chisquare = 0;
-  npt->ks_one_sample = 0;
   npt->cochran = 0;
+  npt->binomial = 0;
+  npt->ks_one_sample = 0;
+  npt->wilcoxon = 0;
+  npt->sign = 0;
+  npt->runs = 0;
   npt->friedman = 0;
+  npt->kendall = 0;
   npt->kruskal_wallis = 0;
   npt->mann_whitney = 0;
-  npt->jonckheere_terpstra = 0;
   npt->mcnemar = 0;
-  npt->runs = 0;
-  npt->sign = 0;
-  npt->wilcoxon = 0;
-  npt->missing = 0;
+  npt->median = 0;
+  npt->jonckheere_terpstra = 0;
+
   npt->miss = MISS_ANALYSIS;
+  npt->missing = 0;
   npt->method = 0;
   npt->statistics = 0;
+
   memset (npt->a_statistics, 0, sizeof npt->a_statistics);
   for (;;)
     {