diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2016-05-23 15:51:48 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2016-05-23 15:51:48 -0400 |
commit | 5139c32d8fd15a4f94087a7b661358b3d1cceca8 (patch) | |
tree | e60804a44d49f44a2eef5e232dee1ee6e70d7080 /src/emu | |
parent | 9707fdbf0964edeb9e9d844bdbfb6e51402204ad (diff) |
Unnecessary leftover (nw)
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/ioport.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/ioport.cpp b/src/emu/ioport.cpp index 9d57dbaaf28..e0e8e76015d 100644 --- a/src/emu/ioport.cpp +++ b/src/emu/ioport.cpp @@ -2140,8 +2140,7 @@ ioport_field_live::ioport_field_live(ioport_field &field, analog_field *analog) } // Name keyboard key names - ioport_type_class inputclass = field.type_class(); - if (inputclass == INPUT_CLASS_KEYBOARD && field.specific_name() == nullptr) + if (field.type_class() == INPUT_CLASS_KEYBOARD && field.specific_name() == nullptr) { // loop through each character on the field for (int which = 0; ; which++) |