mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cochran.c: make cochran_predive_event_bytes() return 0
It seems that an iteration will happen even if the function returns 0, but this looks like a non-breaking change. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
469f42f8d5
commit
85df7ebb02
1 changed files with 2 additions and 0 deletions
|
@ -285,6 +285,8 @@ static int cochran_predive_event_bytes(unsigned char code)
|
|||
return emc_event_bytes[x][1];
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int cochran_dive_event_bytes(unsigned char event)
|
||||
|
|
Loading…
Add table
Reference in a new issue