mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-01-08 20:00:26 +01:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Marco Trevisan <mail@3v1n0.net>
This commit is contained in:
parent
2567d9d55f
commit
668e2e56a9
1 changed files with 1 additions and 3 deletions
|
|
@ -74,9 +74,7 @@ static const gchar *const crfpmoc_meanings[] = {
|
|||
static const gchar *
|
||||
crfpmoc_strresult (int i)
|
||||
{
|
||||
int crfpmoc_meanings_len = sizeof (crfpmoc_meanings) / sizeof (crfpmoc_meanings[0]);
|
||||
|
||||
if (i < 0 || i >= crfpmoc_meanings_len)
|
||||
if (i < 0 || i >= G_N_ELEMENTS (crfpmoc_meanings))
|
||||
return "<unknown>";
|
||||
return crfpmoc_meanings[i];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue