mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-11 08:28:08 +02:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Marco Trevisan <mail@3v1n0.net>
This commit is contained in:
parent
5b74788a50
commit
b622e3979f
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