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:
ac58b3c
)
Avoid the C99-only feature of declaring a variable as part of a for statement.
author
Ben Pfaff
<blp@gnu.org>
Wed, 1 Oct 2008 04:33:09 +0000
(21:33 -0700)
committer
Ben Pfaff
<blp@gnu.org>
Wed, 1 Oct 2008 04:33:09 +0000
(21:33 -0700)
src/output/charts/box-whisker.c
patch
|
blob
|
history
diff --git
a/src/output/charts/box-whisker.c
b/src/output/charts/box-whisker.c
index 4878221d024e5e2a83710690b2bfa609b13aab54..c3641580e0511d66a0a293819c8b6f065a53f96d 100644
(file)
--- a/
src/output/charts/box-whisker.c
+++ b/
src/output/charts/box-whisker.c
@@
-63,6
+63,7
@@
boxplot_draw_boxplot (struct chart *ch,
{
double whisker[2];
double hinge[3];
+ struct ll *ll;
const struct ll_list *outliers;
@@
-138,7
+139,7
@@
boxplot_draw_boxplot (struct chart *ch,
box_centre, box_top);
outliers = box_whisker_outliers (bw);
- for (
struct ll *
ll = ll_head (outliers);
+ for (ll = ll_head (outliers);
ll != ll_null (outliers); ll = ll_next (ll))
{
const struct outlier *outlier = ll_data (ll, struct outlier, ll);