summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-04 21:24:01 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-05 12:39:16 -0700
commit468eb7ef33443dcc303aaf87e4d33302053238fa (patch)
tree1faa42540207c013c2c6e22cc094ad54def822de /core/libdivecomputer.c
parent4b4a117f966c16824e6980ecc835e30e4cb4db42 (diff)
downloadsubsurface-468eb7ef33443dcc303aaf87e4d33302053238fa.tar.gz
clenup: remove bogus connect statement.
In OstcFirmwareCheck::saveOstcFirmware() we find the connect() call connect(dialog, SIGNAL(finished(int)), config, SLOT(dc_close())); whereby "config" is of the type "ConfigureDiveComputer". However, the function signature of ConfigureDiveComputer::dc_close reads as void dc_close(device_data_t *data); and indeed "data" is accessed inside the function. I don't understand how this doesn't crash, but clearly something is amiss. Let's remove that connect statement. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions