projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff0332
)
RANK: Remove write-only struct member 'ascending'.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 24 Jan 2013 06:52:10 +0000
(22:52 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 31 Jan 2013 04:59:55 +0000
(20:59 -0800)
src/language/stats/rank.c
patch
|
blob
|
history
diff --git
a/src/language/stats/rank.c
b/src/language/stats/rank.c
index fd570380052556839e9ad8b3e032f7b7ea3d0377..2fcf636d9ef0977004c41dd1833fe18200926d50 100644
(file)
--- a/
src/language/stats/rank.c
+++ b/
src/language/stats/rank.c
@@
-222,8
+222,6
@@
struct rank
const struct variable **vars;
size_t n_vars;
- bool ascending;
-
const struct variable **group_vars;
size_t n_group_vars;
@@
-683,8
+681,7
@@
cmd_rank (struct lexer *lexer, struct dataset *ds)
if (!parse_sort_criteria (lexer, rank.dict,
&rank.sc,
- &rank.vars,
- &rank.ascending))
+ &rank.vars, NULL))
goto error;
rank.n_vars = rank.sc.n_fields;