aboutsummaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index 3c699005e..ef6a9b962 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -272,7 +272,7 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata)
break;
case DC_SAMPLE_PPO2:
if (nsensor < 3)
- sample->o2sensor[nsensor].mbar = po2 = rint(value.ppo2 * 1000);
+ sample->o2sensor[nsensor].mbar = rint(value.ppo2 * 1000);
else
report_error("%d is more o2 sensors than we can handle", nsensor);
nsensor++;