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>
This commit is contained in:
Jan Mulder 2017-06-13 19:42:38 +02:00 committed by Dirk Hohndel
parent 816863dccf
commit db39f1a847
2 changed files with 0 additions and 26 deletions

View file

@ -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;

View file

@ -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;