(libretro-db/query.c) Cleanup
This commit is contained in:
parent
17ca5a074c
commit
7c186c94a5
|
@ -697,14 +697,12 @@ success:
|
||||||
static struct buffer parse_table(struct buffer buff,
|
static struct buffer parse_table(struct buffer buff,
|
||||||
struct invocation *invocation, const char **error)
|
struct invocation *invocation, const char **error)
|
||||||
{
|
{
|
||||||
struct argument args[MAX_ARGS];
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
const char *ident_name;
|
const char *ident_name;
|
||||||
size_t ident_len;
|
size_t ident_len;
|
||||||
|
struct argument args[MAX_ARGS] = {{0}};
|
||||||
unsigned argi = 0;
|
unsigned argi = 0;
|
||||||
|
|
||||||
memset(args, 0, sizeof(struct argument) * MAX_ARGS);
|
|
||||||
|
|
||||||
buff = chomp(buff);
|
buff = chomp(buff);
|
||||||
buff = expect_char(buff, '{', error);
|
buff = expect_char(buff, '{', error);
|
||||||
|
|
||||||
|
@ -838,8 +836,6 @@ static struct buffer parse_argument(struct buffer buff,
|
||||||
return buff;
|
return buff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void libretrodb_query_free(void *q)
|
void libretrodb_query_free(void *q)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
Loading…
Reference in New Issue