mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
task_decompress.c - get rid of logging
task_autodetect_blissbox.c - get rid of logging
This commit is contained in:
parent
cfcce71392
commit
d198bef37b
@ -304,10 +304,7 @@ static const blissbox_pad_type_t* input_autoconfigure_get_blissbox_pad_type_win3
|
||||
|
||||
/* Check for some other error */
|
||||
if (!bResult)
|
||||
{
|
||||
RARCH_LOG("[Autoconf]: Error in SetupDiGetDeviceInterfaceDetail: %d.\n", GetLastError());
|
||||
goto done;
|
||||
}
|
||||
|
||||
/* copy device path */
|
||||
nLength = _tcslen(pInterfaceDetailData->DevicePath) + 1;
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include "tasks_internal.h"
|
||||
#include "../file_path_special.h"
|
||||
#include "../verbosity.h"
|
||||
#include "../msg_hash.h"
|
||||
|
||||
#define CALLBACK_ERROR_SIZE 4200
|
||||
@ -72,10 +71,6 @@ static int file_decompressed_subdir(const char *name,
|
||||
cdata, cmode, csize, size, crc32, userdata))
|
||||
goto error;
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("[deflate subdir] Path: %s, CRC32: 0x%x\n", name, crc32);
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
|
||||
error:
|
||||
@ -114,9 +109,6 @@ static int file_decompressed(const char *name, const char *valid_exts,
|
||||
cdata, cmode, csize, size, crc32, userdata))
|
||||
goto error;
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("[deflate] Path: %s, CRC32: 0x%x\n", name, crc32);
|
||||
#endif
|
||||
return 1;
|
||||
|
||||
error:
|
||||
@ -280,12 +272,7 @@ void *task_push_decompress(
|
||||
tmp[0] = '\0';
|
||||
|
||||
if (string_is_empty(target_dir) || string_is_empty(source_file))
|
||||
{
|
||||
RARCH_WARN(
|
||||
"[decompress] Empty or null source file or"
|
||||
" target directory arguments.\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ext = path_get_extension(source_file);
|
||||
|
||||
@ -300,26 +287,13 @@ void *task_push_decompress(
|
||||
#endif
|
||||
)
|
||||
)
|
||||
{
|
||||
RARCH_WARN(
|
||||
"[decompress] File '%s' does not exist"
|
||||
" or is not a compressed file.\n",
|
||||
source_file);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!valid_ext || !valid_ext[0])
|
||||
valid_ext = NULL;
|
||||
|
||||
if (task_check_decompress(source_file))
|
||||
{
|
||||
RARCH_LOG(
|
||||
"[decompress] File '%s' already being decompressed.\n",
|
||||
source_file);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
RARCH_LOG("[decompress] File '%s.\n", source_file);
|
||||
|
||||
s = (decompress_state_t*)calloc(1, sizeof(*s));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user