(libretro-db/query.c) Cleanup

This commit is contained in:
twinaphex 2015-06-03 17:14:30 +02:00
parent 17ca5a074c
commit 7c186c94a5

View File

@ -697,14 +697,12 @@ success:
static struct buffer parse_table(struct buffer buff,
struct invocation *invocation, const char **error)
{
struct argument args[MAX_ARGS];
unsigned i;
const char *ident_name;
size_t ident_len;
struct argument args[MAX_ARGS] = {{0}};
unsigned argi = 0;
memset(args, 0, sizeof(struct argument) * MAX_ARGS);
buff = chomp(buff);
buff = expect_char(buff, '{', error);
@ -838,8 +836,6 @@ static struct buffer parse_argument(struct buffer buff,
return buff;
}
void libretrodb_query_free(void *q)
{
unsigned i;