aboutsummaryrefslogtreecommitdiffstats
path: root/export-html.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'export-html.cpp')
-rw-r--r--export-html.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/export-html.cpp b/export-html.cpp
index f66bd6909..fecbb5235 100644
--- a/export-html.cpp
+++ b/export-html.cpp
@@ -54,11 +54,7 @@ int main(int argc, char **argv)
prefs.units = git_prefs.units;
// populate the statistics
- struct dive *d = get_dive(0);
- struct dive *pd;
- if (d) {
- process_all_dives(d, &pd);
- }
+ process_all_dives();
// now set up the export settings to create the HTML export
struct htmlExportSetting hes;