diff options
| author | 2015-11-11 16:31:18 +0100 | |
|---|---|---|
| committer | 2015-11-11 16:31:18 +0100 | |
| commit | d1dc775f9b686170416fbca6a615fbea108d0ff1 (patch) | |
| tree | 64c9053aa0ac1c0d9b15a5d628d5a2ca8e296db8 /src/emu/input.cpp | |
| parent | 7c7e62455e91e9eae51577cd06c4fd38858a3d50 (diff) | |
Some cleanups and init fixes with help of ReSharper C++ (nw)
Diffstat (limited to 'src/emu/input.cpp')
| -rw-r--r-- | src/emu/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/input.cpp b/src/emu/input.cpp index 01469566a63..4e9bbeb073a 100644 --- a/src/emu/input.cpp +++ b/src/emu/input.cpp @@ -843,7 +843,7 @@ input_item_id input_device::add_item(const char *name, input_item_id itemid, ite assert(m_item[itemid] == NULL); // determine the class and create the appropriate item class - input_device_item *item = NULL; + input_device_item *item; switch (m_class.standard_item_class(originalid)) { case ITEM_CLASS_SWITCH: |
