diff options
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c index 223205e27..2d8918784 100644 --- a/divelist.c +++ b/divelist.c @@ -188,7 +188,7 @@ int total_weight(struct dive *dive) static int active_o2(struct dive *dive, struct divecomputer *dc, duration_t time) { int o2permille = dive->cylinder[0].gasmix.o2.permille; - struct event *event = dc->events; + struct event *event; if (!o2permille) o2permille = O2_IN_AIR; |