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:
a4b62f0
)
RANK: Avoid putting declaration after statement.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 25 Jan 2012 06:26:22 +0000
(22:26 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 25 Jan 2012 06:26:22 +0000
(22:26 -0800)
src/language/stats/rank.c
patch
|
blob
|
history
diff --git
a/src/language/stats/rank.c
b/src/language/stats/rank.c
index cd932ac80d36469e50690175ac3c061dd855cfd6..06e7e9fc6b108eb83ef76aeb4d506d72f06f2b6c 100644
(file)
--- a/
src/language/stats/rank.c
+++ b/
src/language/stats/rank.c
@@
-663,6
+663,7
@@
cmd_rank (struct lexer *lexer, struct dataset *ds)
struct rank rank;
struct variable *order;
bool result = true;
+ int i;
subcase_init_empty (&rank.sc);
@@
-802,7
+803,6
@@
cmd_rank (struct lexer *lexer, struct dataset *ds)
already been created with INTO.
Add labels to all the destination variables.
*/
- int i;
for (i = 0 ; i < rank.n_rs ; ++i )
{
int v;