Skip to content

Commit

Permalink
task_decompress.c - get rid of logging
Browse files Browse the repository at this point in the history
task_autodetect_blissbox.c - get rid of logging
  • Loading branch information
inactive123 committed Jan 25, 2020
1 parent cfcce71 commit d198bef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
3 changes: 0 additions & 3 deletions tasks/task_autodetect_blissbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
26 changes: 0 additions & 26 deletions tasks/task_decompress.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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);

Expand All @@ -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));

Expand Down

0 comments on commit d198bef

Please sign in to comment.