mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
cleanup: remove unused data and bogus UNUSED in libdivecomputer.c
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
cedccbc340
commit
cb3e21c443
1 changed files with 0 additions and 10 deletions
|
@ -1081,7 +1081,6 @@ static void lookup_fingerprint(dc_device_t *device, device_data_t *devdata)
|
|||
|
||||
static void event_cb(dc_device_t *device, dc_event_type_t event, const void *data, void *userdata)
|
||||
{
|
||||
UNUSED(device);
|
||||
static unsigned int last = 0;
|
||||
const dc_event_progress_t *progress = data;
|
||||
const dc_event_devinfo_t *devinfo = data;
|
||||
|
@ -1245,15 +1244,6 @@ void logfunc(dc_context_t *context, dc_loglevel_t loglevel, const char *file, un
|
|||
}
|
||||
}
|
||||
|
||||
char *transport_string[] = {
|
||||
"SERIAL",
|
||||
"USB",
|
||||
"USBHID",
|
||||
"IRDA",
|
||||
"BT",
|
||||
"BLE"
|
||||
};
|
||||
|
||||
/*
|
||||
* Get the transports supported by us (as opposed to
|
||||
* the list of transports supported by a particular
|
||||
|
|
Loading…
Add table
Reference in a new issue