summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--save-xml.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/save-xml.c b/save-xml.c
index 309f7cc08..9e3640cad 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -136,11 +136,9 @@ static void save_cylinder_info(FILE *f, struct dive *dive)
return;
fprintf(f, " <cylinder");
if (o2) {
- int n2 = 1000 - o2 - he;
fprintf(f, " o2='%u.%u%%'", FRACTION(o2, 10));
if (he)
fprintf(f, " he='%u.%u%%'", FRACTION(he, 10));
- fprintf(f, " n2='%u.%u%%'", FRACTION(n2, 10));
}
if (volume) {
fprintf(f, " size='%u.%03u l'", FRACTION(volume, 1000));