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:
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 -->
|
||||
Reference in New Issue
Block a user