database_info_iterate_rdl_write - cleanup
This commit is contained in:
parent
bb6331874a
commit
24e79f0ceb
|
@ -111,17 +111,17 @@ static int database_info_iterate_rdl_write(
|
||||||
|
|
||||||
path_parent_dir(parent_dir);
|
path_parent_dir(parent_dir);
|
||||||
|
|
||||||
#ifdef HAVE_ZLIB
|
|
||||||
if (!strcmp(path_get_extension(name), "zip"))
|
if (!strcmp(path_get_extension(name), "zip"))
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_ZLIB
|
||||||
RARCH_LOG("[ZIP]: name: %s\n", name);
|
RARCH_LOG("[ZIP]: name: %s\n", name);
|
||||||
|
|
||||||
if (!zlib_parse_file(name, NULL, zlib_compare_crc32,
|
if (!zlib_parse_file(name, NULL, zlib_compare_crc32,
|
||||||
(void*)parent_dir))
|
(void*)parent_dir))
|
||||||
RARCH_LOG("Could not process ZIP file.\n");
|
RARCH_LOG("Could not process ZIP file.\n");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
char msg[PATH_MAX_LENGTH];
|
char msg[PATH_MAX_LENGTH];
|
||||||
ssize_t ret;
|
ssize_t ret;
|
||||||
|
|
Loading…
Reference in New Issue