Fix for Apple GCC (no whatsnew)

This commit is contained in:
R. Belmont 2011-05-31 00:06:19 +00:00
parent 773e35d79b
commit 6bacece859

View file

@ -910,7 +910,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;
input_device_item *item = NULL;
switch (m_class.standard_item_class(originalid))
{
case ITEM_CLASS_SWITCH: