summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/libdivecomputer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index f2bc9df41..a99d15ae8 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -195,7 +195,7 @@ static int parse_gasmixes(device_data_t *devdata, struct dive *dive, dc_parser_t
mbar_to_atm(cyl.type.workingpressure.mbar));
}
}
- if (tank.gasmix != i) { // we don't handle this, yet
+ if (tank.gasmix != DC_GASMIX_UNKNOWN && tank.gasmix != i) { // we don't handle this, yet
shown_warning = true;
report_error("gasmix %d for tank %d doesn't match", tank.gasmix, i);
}