diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-02-06 22:56:10 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-02-09 12:13:18 -0800 |
commit | 8391d926c7355a0ff637c2b604e259d0d25c3cb2 (patch) | |
tree | 36cb3cfe14ef1d688ed39b568a3d35dbe8659971 /core/save-html.c | |
parent | ee839bf68618fc27f96b04291912c8af09e944b2 (diff) | |
download | subsurface-8391d926c7355a0ff637c2b604e259d0d25c3cb2.tar.gz |
Cleanup: remove const bool parameters and return types
These just make no sense. Since the value is copied, it
has no meaning to the caller whether the function can
change the value (and vice versa for return types).
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/save-html.c')
-rw-r--r-- | core/save-html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/save-html.c b/core/save-html.c index 5902a8a71..d5f472058 100644 --- a/core/save-html.c +++ b/core/save-html.c @@ -344,7 +344,7 @@ void put_HTML_tags(struct membuffer *b, struct dive *dive, const char *pre, cons } /* if exporting list_only mode, we neglect exporting the samples, bookmarks and cylinders */ -void write_one_dive(struct membuffer *b, struct dive *dive, const char *photos_dir, int *dive_no, const bool list_only) +void write_one_dive(struct membuffer *b, struct dive *dive, const char *photos_dir, int *dive_no, bool list_only) { put_string(b, "{"); put_format(b, "\"number\":%d,", *dive_no); |