mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly deal with empty XML files
Previously we could end up with a bogus dive with all zero data in it. Adding dives/test24.xml to be able to test that we handle this case correctly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0d637c2fa9
commit
421366d0fb
2 changed files with 18 additions and 2 deletions
4
dives/test24.xml
Normal file
4
dives/test24.xml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<dives>
|
||||
<program name='subsurface' version='1'></program>
|
||||
</dives>
|
||||
<!-- intentionally empty dive file - should register as no dives -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue