(tasks) Style nits
This commit is contained in:
parent
7060a83323
commit
d0cc1afe0a
|
@ -53,8 +53,6 @@ typedef struct db_handle
|
||||||
static int task_database_iterate_start(database_info_handle_t *db,
|
static int task_database_iterate_start(database_info_handle_t *db,
|
||||||
const char *name)
|
const char *name)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
char msg[128];
|
char msg[128];
|
||||||
|
|
||||||
msg[0] = msg[127] = '\0';
|
msg[0] = msg[127] = '\0';
|
||||||
|
@ -345,7 +343,8 @@ static int task_database_iterate_crc_lookup(
|
||||||
|
|
||||||
query[0] = '\0';
|
query[0] = '\0';
|
||||||
|
|
||||||
db_supports_content = core_info_database_supports_content_path(db_state->list->elems[db_state->list_index].data, name);
|
db_supports_content = core_info_database_supports_content_path(
|
||||||
|
db_state->list->elems[db_state->list_index].data, name);
|
||||||
unsupported_content = core_info_unsupported_content_path(name);
|
unsupported_content = core_info_unsupported_content_path(name);
|
||||||
|
|
||||||
/* don't scan files that can't be in this database */
|
/* don't scan files that can't be in this database */
|
||||||
|
@ -354,7 +353,8 @@ static int task_database_iterate_crc_lookup(
|
||||||
|
|
||||||
snprintf(query, sizeof(query),
|
snprintf(query, sizeof(query),
|
||||||
"{crc:or(b\"%08X\",b\"%08X\")}",
|
"{crc:or(b\"%08X\",b\"%08X\")}",
|
||||||
swap_if_big32(db_state->crc), swap_if_big32(db_state->archive_crc));
|
swap_if_big32(db_state->crc),
|
||||||
|
swap_if_big32(db_state->archive_crc));
|
||||||
|
|
||||||
database_info_list_iterate_new(db_state, query);
|
database_info_list_iterate_new(db_state, query);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue