diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-01 12:17:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-01 08:53:45 -0700 |
commit | c8334ad11bbffde99fc3baa5256be68489b51ed8 (patch) | |
tree | 7676a6f05023fc4edfa0ffc76d4fe98d0ea88f59 /core/profile.c | |
parent | 21e2488d2d2eeac222c84290d5dcc38fb66d37b6 (diff) | |
download | subsurface-c8334ad11bbffde99fc3baa5256be68489b51ed8.tar.gz |
cleanup: make analyze_plot_info local to profile.c
No external caller of this function exists. Moreover, turn the return
type to void, as it only returned the passed-in plot_info and no
caller used that.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/profile.c')
-rw-r--r-- | core/profile.c | 4 |
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; } /* |