Changeset db39f1a in subsurface


Ignore:
Timestamp:
Jun 15, 2017, 1:31:41 PM (9 days ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
26a0e741
Parents:
816863d
git-author:
Jan Mulder <jlmulder@…> (06/13/17 10:42:38)
git-committer:
Dirk Hohndel <dirk@…> (06/15/17 13:31:41)
Message:

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/downloadfromdcthread.h

    r5142d74 rdb39f1a  
    8787};
    8888
    89 //TODO: QList<product> ?
    90 struct product {
    91         const char *product;
    92         dc_descriptor_t *descriptor;
    93         struct product *next;
    94 };
    95 
    96 //TODO: QList<vendor> ?
    97 struct vendor {
    98         const char *vendor;
    99         struct product *productlist;
    100         struct vendor *next;
    101 };
    102 
    10389//TODO: C++ify descriptor?
    10490struct mydescriptor {
  • desktop-widgets/configuredivecomputerdialog.cpp

    rf14ad7f rdb39f1a  
    1212#include <QNetworkReply>
    1313#include <QProgressDialog>
    14 
    15 struct product {
    16         const char *product;
    17         dc_descriptor_t *descriptor;
    18         struct product *next;
    19 };
    20 
    21 struct vendor {
    22         const char *vendor;
    23         struct product *productlist;
    24         struct vendor *next;
    25 };
    2614
    2715struct mydescriptor {
Note: See TracChangeset for help on using the changeset viewer.