mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-12 13:16:16 +00:00
uemis import: disable seemingly dead code
This is probably related to another commented out piece of code. Disable until someone complains. Fixes a (good) Coverity warning. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
df568fbb5d
commit
1fc5a294a6
1 changed files with 4 additions and 2 deletions
|
@ -1293,8 +1293,10 @@ std::string do_uemis_import(device_data_t *data)
|
||||||
/* process the buffer we have assembled */
|
/* process the buffer we have assembled */
|
||||||
if (!process_raw_buffer(data, deviceidnr, realmbuf, newmax, NULL)) {
|
if (!process_raw_buffer(data, deviceidnr, realmbuf, newmax, NULL)) {
|
||||||
/* if no dives were downloaded, mark end appropriately */
|
/* if no dives were downloaded, mark end appropriately */
|
||||||
if (end == -2)
|
/* Might be related to the "clean up mbuf" below.
|
||||||
end = start - 1;
|
* Disable for now, since end will be overwritten anyway */
|
||||||
|
//if (end == -2)
|
||||||
|
//end = start - 1;
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
if (once) {
|
if (once) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue