summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/bcreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/bcreader.cpp')
-rw-r--r--src/devices/machine/bcreader.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/devices/machine/bcreader.cpp b/src/devices/machine/bcreader.cpp
index 5a5df7fb452..4d05a779835 100644
--- a/src/devices/machine/bcreader.cpp
+++ b/src/devices/machine/bcreader.cpp
@@ -208,7 +208,6 @@ void barcode_reader_device::decode(int len)
sum += (i & 1) ? (m_byte_data[i] * 1) : (m_byte_data[i] * 3);
}
- if (m_pixel_data)
{
sum = (10 - (sum % 10)) % 10;
if (sum != m_byte_data[len - 1])