diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-06-13 19:42:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-16 05:31:41 +0900 |
commit | db39f1a847a134784bc4208602c0612465ba9393 (patch) | |
tree | 6b844499837abd6315c3842dea41fd29752858c8 | |
parent | 816863dccf99dd92ed6c059646f5a9dd6fb41930 (diff) | |
download | subsurface-db39f1a847a134784bc4208602c0612465ba9393.tar.gz |
code cleanup: remove 2 unused structs
Luckily these 2 structs in this ugly code are not used. Remove them.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
-rw-r--r-- | core/downloadfromdcthread.h | 14 | ||||
-rw-r--r-- | desktop-widgets/configuredivecomputerdialog.cpp | 12 |
2 files changed, 0 insertions, 26 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h index 912c33258..fb9c73965 100644 --- a/core/downloadfromdcthread.h +++ b/core/downloadfromdcthread.h @@ -86,20 +86,6 @@ private: DCDeviceData *m_data; }; -//TODO: QList<product> ? -struct product { - const char *product; - dc_descriptor_t *descriptor; - struct product *next; -}; - -//TODO: QList<vendor> ? -struct vendor { - const char *vendor; - struct product *productlist; - struct vendor *next; -}; - //TODO: C++ify descriptor? struct mydescriptor { const char *vendor; diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp index 41e3ed386..2afdf38ce 100644 --- a/desktop-widgets/configuredivecomputerdialog.cpp +++ b/desktop-widgets/configuredivecomputerdialog.cpp @@ -12,18 +12,6 @@ #include <QNetworkReply> #include <QProgressDialog> -struct product { - const char *product; - dc_descriptor_t *descriptor; - struct product *next; -}; - -struct vendor { - const char *vendor; - struct product *productlist; - struct vendor *next; -}; - struct mydescriptor { const char *vendor; const char *product; |