mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: add a function to test for sensors of a given cylinder
We want to prevent the user from accidentally deleting a cylinder with sensor readings. Therefore, we need such a function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5eda1c0e39
commit
28fe6a7b38
3 changed files with 15 additions and 1 deletions
|
@ -548,4 +548,3 @@ void free_dc(struct divecomputer *dc)
|
|||
free_dc_contents(dc);
|
||||
free(dc);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue