summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--save-xml.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/save-xml.c b/save-xml.c
index 5c05723b7..c33cbb0dd 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -127,7 +127,6 @@ static void save_cylinder_info(FILE *f, struct dive *dive)
for (i = 0; i < MAX_CYLINDERS; i++) {
cylinder_t *cylinder = dive->cylinder+i;
int volume = cylinder->type.size.mliter;
- int pressure = cylinder->type.workingpressure.mbar;
int o2 = cylinder->gasmix.o2.permille;
int he = cylinder->gasmix.he.permille;
@@ -140,11 +139,8 @@ static void save_cylinder_info(FILE *f, struct dive *dive)
if (he)
fprintf(f, " he='%u.%u%%'", FRACTION(he, 10));
}
- if (volume) {
+ if (volume)
fprintf(f, " size='%u.%03u l'", FRACTION(volume, 1000));
- if (pressure)
- fprintf(f, " workpressure='%u.%03u bar'", FRACTION(pressure, 1000));
- }
fprintf(f, " />\n");
}
}