action, types: remove unused Report functions
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
e77712bd27
commit
bbc69b6342
|
@ -218,17 +218,6 @@ ReportActionNotArray(struct xkb_keymap *keymap, enum xkb_action_type action,
|
|||
return false;
|
||||
}
|
||||
|
||||
static inline bool
|
||||
ReportNotFound(struct xkb_keymap *keymap, enum xkb_action_type action,
|
||||
enum action_field field, const char *what, const char *bad)
|
||||
{
|
||||
log_err(keymap->ctx,
|
||||
"%s named %s not found; "
|
||||
"Ignoring the %s field of an %s action\n",
|
||||
what, bad, fieldText(field), ActionTypeText(action));
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool
|
||||
HandleNoAction(struct xkb_keymap *keymap, union xkb_action *action,
|
||||
enum action_field field, const ExprDef *array_ndx,
|
||||
|
|
|
@ -197,16 +197,6 @@ ReportTypeBadType(KeyTypesInfo *info, KeyTypeInfo *type,
|
|||
TypeTxt(info, type), wanted);
|
||||
}
|
||||
|
||||
static inline bool
|
||||
ReportTypeBadWidth(KeyTypesInfo *info, const char *type, int has, int needs)
|
||||
{
|
||||
log_err(info->keymap->ctx,
|
||||
"Key type \"%s\" has %d levels, must have %d; "
|
||||
"Illegal type definition ignored\n",
|
||||
type, has, needs);
|
||||
return false;
|
||||
}
|
||||
|
||||
/***====================================================================***/
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue