Enable -Wunused-function warning

This commit is contained in:
Nekotekina 2021-02-15 14:34:10 +03:00
parent 4c1026436f
commit 8e6e57de86
14 changed files with 18 additions and 94 deletions

View file

@ -43,7 +43,7 @@ namespace input
unsigned int pclass_profile; // See CELL_PAD_PCLASS_PROFILE flags
};
static product_info get_product_info(product_type type)
inline product_info get_product_info(product_type type)
{
switch (type)
{
@ -83,7 +83,7 @@ namespace input
}
}
static std::vector<product_info> get_products_by_class(int class_id)
inline std::vector<product_info> get_products_by_class(int class_id)
{
switch (class_id)
{