summaryrefslogtreecommitdiffstats
path: root/core/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/profile.c')
-rw-r--r--core/profile.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/profile.c b/core/profile.c
index e83be3f83..1cc73f158 100644
--- a/core/profile.c
+++ b/core/profile.c
@@ -256,7 +256,7 @@ static velocity_t velocity(int speed)
return v;
}
-struct plot_info *analyze_plot_info(struct plot_info *pi)
+static void analyze_plot_info(struct plot_info *pi)
{
int i;
int nr = pi->nr;
@@ -292,8 +292,6 @@ struct plot_info *analyze_plot_info(struct plot_info *pi)
/* get minmax data */
for (i = 0; i < nr; i++)
analyze_plot_info_minmax(pi, i);
-
- return pi;
}
/*