summaryrefslogtreecommitdiffstats
path: root/core/dive.c
diff options
context:
space:
mode:
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)