From 85df7ebb0288fa988c83e3783ae7eb0d10567960 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 28 Oct 2014 13:35:16 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- cochran.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cochran.c') diff --git a/cochran.c b/cochran.c index 142069991..d486f568a 100644 --- a/cochran.c +++ b/cochran.c @@ -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) -- cgit v1.2.3-70-g09d2