summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/divelogexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-26 12:52:20 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-12-26 12:52:20 -0800
commitc8c4f8f0b9fdf7a5cc315b130795a37ffcf6e074 (patch)
treeb50294c50d34071d18a53923cec27efae5299e08 /desktop-widgets/divelogexportdialog.cpp
parentd34e789c03a2893eae70b5528c7f2c6ccb6a1ee0 (diff)
downloadsubsurface-c8c4f8f0b9fdf7a5cc315b130795a37ffcf6e074.tar.gz
Remove unused variables
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/divelogexportdialog.cpp')
-rw-r--r--desktop-widgets/divelogexportdialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/divelogexportdialog.cpp b/desktop-widgets/divelogexportdialog.cpp
index 4a1e87d86..7b315fcf0 100644
--- a/desktop-widgets/divelogexportdialog.cpp
+++ b/desktop-widgets/divelogexportdialog.cpp
@@ -236,9 +236,7 @@ void DiveLogExportDialog::export_TeX(const char *filename, const bool selected_o
{
FILE *f;
struct dive *dive;
- depth_t depth;
int i;
- const char *unit = NULL;
bool need_pagebreak = false;
struct membuffer buf = {};