From fa9298cb16f031e9292542d0daec2f607cc09828 Mon Sep 17 00:00:00 2001 From: Robbbert Date: Sun, 14 Feb 2021 00:29:16 +1100 Subject: [PATCH] halleys: Coverity 316135 --- src/mame/drivers/halleys.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mame/drivers/halleys.cpp b/src/mame/drivers/halleys.cpp index ac1f6c90997..a0b39b68140 100644 --- a/src/mame/drivers/halleys.cpp +++ b/src/mame/drivers/halleys.cpp @@ -1432,6 +1432,7 @@ void halleys_state::copy_fixed_2b(bitmap_ind16 &bitmap, uint16_t *source) void halleys_state::filter_bitmap(bitmap_ind16 &bitmap, int mask) { return; +#ifdef UNUSED int dst_pitch; uint32_t *pal_ptr, *edi; @@ -1467,6 +1468,7 @@ void halleys_state::filter_bitmap(bitmap_ind16 &bitmap, int mask) edi += dst_pitch; } while (--edx); +#endif }