mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanups
This commit is contained in:
parent
11f26ed549
commit
bd73d4b98a
4 changed files with 0 additions and 15 deletions
|
@ -260,8 +260,6 @@ static int sevenzip_file_read(
|
||||||
|
|
||||||
if (!filestream_write_file(optional_outfile, ptr, outsize))
|
if (!filestream_write_file(optional_outfile, ptr, outsize))
|
||||||
{
|
{
|
||||||
/*RARCH_ERR("Could not open outfilepath %s.\n",
|
|
||||||
optional_outfile);*/
|
|
||||||
res = SZ_OK;
|
res = SZ_OK;
|
||||||
file_found = true;
|
file_found = true;
|
||||||
outsize = -1;
|
outsize = -1;
|
||||||
|
|
|
@ -186,10 +186,6 @@ static int zip_file_decompressed(
|
||||||
if (name[strlen(name) - 1] == '/' || name[strlen(name) - 1] == '\\')
|
if (name[strlen(name) - 1] == '/' || name[strlen(name) - 1] == '\\')
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
#if 0
|
|
||||||
RARCH_LOG("[deflate] Path: %s, CRC32: 0x%x\n", name, crc32);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (strstr(name, userdata->decomp_state.needle))
|
if (strstr(name, userdata->decomp_state.needle))
|
||||||
{
|
{
|
||||||
bool goto_error = false;
|
bool goto_error = false;
|
||||||
|
@ -207,9 +203,6 @@ static int zip_file_decompressed(
|
||||||
|
|
||||||
if (buf)
|
if (buf)
|
||||||
{
|
{
|
||||||
/*RARCH_LOG("%s: %s\n",
|
|
||||||
msg_hash_to_str(MSG_EXTRACTING_FILE),
|
|
||||||
userdata->decomp_state.opt_file);*/
|
|
||||||
memcpy(buf, handle.data, size);
|
memcpy(buf, handle.data, size);
|
||||||
|
|
||||||
if (!filestream_write_file(userdata->decomp_state.opt_file, buf, size))
|
if (!filestream_write_file(userdata->decomp_state.opt_file, buf, size))
|
||||||
|
|
|
@ -1148,8 +1148,6 @@ void fill_pathname_application_path(char *s, size_t len)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* RARCH_ERR("Cannot resolve application path! This should not happen.\n"); */
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -411,10 +411,6 @@ static char *purge_xml_comments(const char *str)
|
||||||
|
|
||||||
rxml_document_t *rxml_load_document(const char *path)
|
rxml_document_t *rxml_load_document(const char *path)
|
||||||
{
|
{
|
||||||
#ifndef RXML_TEST
|
|
||||||
RARCH_WARN("Using RXML as drop in for libxml2. Behavior might be very buggy.\n");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
char *memory_buffer = NULL;
|
char *memory_buffer = NULL;
|
||||||
char *new_memory_buffer = NULL;
|
char *new_memory_buffer = NULL;
|
||||||
const char *mem_ptr = NULL;
|
const char *mem_ptr = NULL;
|
||||||
|
|
Loading…
Add table
Reference in a new issue