summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-10 09:05:58 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-10 10:53:03 -0700
commitaa8cadbcdd85ffb34950596c62cb3a3a4272c5e3 (patch)
tree36a1bae9477ffe044ed3eb865a413f7681492e2d /core/dive.c
parent4489389a018d7099e6fd0019e4717dcf95bc08b5 (diff)
downloadsubsurface-aa8cadbcdd85ffb34950596c62cb3a3a4272c5e3.tar.gz
cleanup: remove dive_get_picture_count() function
The last user was removed in 5b7e4c57f78c9ec2087726ecad89797132a32d08. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/dive.c')
-rw-r--r--core/dive.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/dive.c b/core/dive.c
index ffdf91ae3..1a55d476a 100644
--- a/core/dive.c
+++ b/core/dive.c
@@ -3538,14 +3538,6 @@ void dive_add_picture(struct dive *dive, struct picture *newpic)
return;
}
-unsigned int dive_get_picture_count(struct dive *dive)
-{
- unsigned int i = 0;
- FOR_EACH_PICTURE (dive)
- i++;
- return i;
-}
-
void picture_free(struct picture *picture)
{
if (!picture)