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:
Lubomir I. Ivanov 2014-10-28 13:35:16 +02:00 committed by Dirk Hohndel
parent 469f42f8d5
commit 85df7ebb02

View file

@ -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)