projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1064fc2
)
t-test: Move 'cmd' variable from file scope into cmd_t_test().
author
Ben Pfaff
<blp@gnu.org>
Fri, 16 Jan 2009 04:37:32 +0000
(20:37 -0800)
committer
Ben Pfaff
<blp@gnu.org>
Sun, 7 Jun 2009 04:11:01 +0000
(21:11 -0700)
This variable was only used inside cmd_t_test() anyhow.
src/language/stats/t-test.q
patch
|
blob
|
history
diff --git
a/src/language/stats/t-test.q
b/src/language/stats/t-test.q
index 52f9838b4a2117d8351a9d23f1c760196e36a246..c201ba134486e130da035e8c6513b0e523760163 100644
(file)
--- a/
src/language/stats/t-test.q
+++ b/
src/language/stats/t-test.q
@@
-240,8
+240,6
@@
static void calculate (struct cmd_t_test *,
static int mode;
-static struct cmd_t_test cmd;
-
static int compare_group_binary (const struct group_statistics *a,
const struct group_statistics *b,
const struct group_properties *p);
@@
-255,6
+253,7
@@
static unsigned hash_group_binary (const struct group_statistics *g,
int
cmd_t_test (struct lexer *lexer, struct dataset *ds)
{
+ struct cmd_t_test cmd;
struct casegrouper *grouper;
struct casereader *group;
bool ok;