add a `default:` to make gcc happy

develop
Kelly Kinkade 2023-10-16 11:17:33 -05:00
parent a09f122d7e
commit 74dffc5f52
1 changed files with 1 additions and 0 deletions

@ -2317,6 +2317,7 @@ int32_t Items::getCapacity(df::item* item)
auto tool = virtual_cast<df::item_toolst>(item);
if (tool)
return tool->subtype->container_capacity;
default:
}
return 0;
}