mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
(libretro-db) Silence warning
This commit is contained in:
parent
abe0c19bba
commit
16ec2a620e
@ -1,4 +1,5 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <errno.h>
|
||||
@ -11,9 +12,7 @@ static int cmpkeystr_( const pr_key_t* key, const char** str )
|
||||
int res = 1;
|
||||
|
||||
if ( key->prev )
|
||||
{
|
||||
res = cmpkeystr_( key->prev, str );
|
||||
}
|
||||
|
||||
res = res && !strncmp( key->key.str, *str, key->key.len );
|
||||
( *str ) += key->key.len + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user