[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/aggregate.c
From: |
John Darrington |
Subject: |
[Pspp-cvs] Changes to pspp/src/aggregate.c |
Date: |
Tue, 25 Jan 2005 08:04:48 -0500 |
Index: pspp/src/aggregate.c
diff -u pspp/src/aggregate.c:1.23 pspp/src/aggregate.c:1.24
--- pspp/src/aggregate.c:1.23 Mon Nov 15 09:51:22 2004
+++ pspp/src/aggregate.c Tue Jan 25 13:04:47 2005
@@ -161,15 +161,8 @@
/* Have we seen these subcommands? */
unsigned seen = 0;
- agr.writer = NULL;
- agr.sink = NULL;
+ memset(&agr, 0 , sizeof (agr));
agr.missing = ITEMWISE;
- agr.sort = NULL;
- agr.break_vars = NULL;
- agr.agr_vars = NULL;
- agr.dict = NULL;
- agr.case_cnt = 0;
- agr.prev_break = NULL;
agr.dict = dict_create ();
dict_set_label (agr.dict, dict_get_label (default_dict));
@@ -670,6 +663,7 @@
}
if (agr->dict != NULL)
dict_destroy (agr->dict);
+
case_destroy (&agr->agr_case);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] Changes to pspp/src/aggregate.c,
John Darrington <=