projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug #11227 (T-Test not working with alpha independent variable )
[pspp-builds.git]
/
src
/
casefile.c
diff --git
a/src/casefile.c
b/src/casefile.c
index 6d74e8e286ee3a8451b90db6951fb2f7599789b1..76de45dc7a6b392dd8581f6334fdaa0ee5cd2026 100644
(file)
--- a/
src/casefile.c
+++ b/
src/casefile.c
@@
-90,6
+90,13
@@
struct casereader
struct ccase c; /* Current case. */
};
struct ccase c; /* Current case. */
};
+/* Return the case number of the current case */
+unsigned long
+casereader_cnum(const struct casereader *r)
+{
+ return r->case_idx;
+}
+
/* Doubly linked list of all casefiles. */
static struct casefile *casefiles;
/* Doubly linked list of all casefiles. */
static struct casefile *casefiles;
@@
-796,7
+803,6
@@
cmd_debug_casefile (void)
static void
test_casefile (int pattern, size_t value_cnt, size_t case_cnt)
{
static void
test_casefile (int pattern, size_t value_cnt, size_t case_cnt)
{
- int zero = 0;
struct casefile *cf;
struct casereader *r1, *r2;
struct ccase c;
struct casefile *cf;
struct casereader *r1, *r2;
struct ccase c;