projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
scatterplot: fixed compiler warnings
[pspp]
/
src
/
language
/
stats
/
graph.c
diff --git
a/src/language/stats/graph.c
b/src/language/stats/graph.c
index 20dc80255b6fea04dee5856d7913d35f6ea61519..ae80616862f7aeda14e42e49a1b78609ccb860f4 100644
(file)
--- a/
src/language/stats/graph.c
+++ b/
src/language/stats/graph.c
@@
-131,7
+131,7
@@
struct graph
static void
static void
-show_scatterplot (const struct graph *cmd,
const
struct casereader *input)
+show_scatterplot (const struct graph *cmd, struct casereader *input)
{
struct string title;
struct scatterplot_chart *scatterplot;
{
struct string title;
struct scatterplot_chart *scatterplot;
@@
-174,11
+174,10
@@
show_scatterplot (const struct graph *cmd, const struct casereader *input)
}
static void
}
static void
-show_histogr (const struct graph *cmd,
const
struct casereader *input)
+show_histogr (const struct graph *cmd, struct casereader *input)
{
struct histogram *histogram;
struct ccase *c;
{
struct histogram *histogram;
struct ccase *c;
- struct casereader *reader;
{
/* Sturges Rule */
{
/* Sturges Rule */
@@
-237,7
+236,8
@@
static void
run_graph (struct graph *cmd, struct casereader *input)
{
struct ccase *c;
run_graph (struct graph *cmd, struct casereader *input)
{
struct ccase *c;
- struct casereader *reader, *writer;
+ struct casereader *reader;
+ struct casewriter *writer;
cmd->es = pool_calloc (cmd->pool,cmd->n_dep_vars,sizeof(struct exploratory_stats));
for(int v=0;v<cmd->n_dep_vars;v++)
cmd->es = pool_calloc (cmd->pool,cmd->n_dep_vars,sizeof(struct exploratory_stats));
for(int v=0;v<cmd->n_dep_vars;v++)