projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(parse_Z) [WORDS_BIGENDIAN] Don't declare buf[], to avoid "unused
[pspp]
/
src
/
list.q
diff --git
a/src/list.q
b/src/list.q
index 3add8de152e8bd9ef05744ab26020eb3df15e107..97f5372d02584e96bdcf77867ce470e45c7f592a 100644
(file)
--- a/
src/list.q
+++ b/
src/list.q
@@
-204,9
+204,9
@@
cmd_list (void)
strcpy (casenum_var.name, "Case#");
casenum_var.type = NUMERIC;
casenum_var.fv = -1;
strcpy (casenum_var.name, "Case#");
casenum_var.type = NUMERIC;
casenum_var.fv = -1;
- casenum_var.print
.type = FMT_F;
- casenum_var.print.w = (cmd.last == LONG_MAX ? 5 : intlog10 (cmd.last));
-
casenum_var.print.d = 0
;
+ casenum_var.print
= make_output_format (FMT_F,
+ (cmd.last == LONG_MAX
+
? 5 : intlog10 (cmd.last)), 0)
;
/* Add the weight variable at the beginning of the variable list. */
cmd.n_variables++;
/* Add the weight variable at the beginning of the variable list. */
cmd.n_variables++;