1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 00:18:36 +00:00

Fix build warning in DEBUG mode

Just a tiny cleanup to avoid an 'unused variable' warning when building
with DEBUG=1.
This commit is contained in:
Matt Palmer 2020-04-18 12:18:18 +10:00
parent f96594ef87
commit 240d35976a

View File

@ -373,9 +373,9 @@ static bool opencl_test_instruction (hashcat_ctx_t *hashcat_ctx, cl_context cont
OCL_PTR *ocl = (OCL_PTR *) backend_ctx->ocl;
const int fd_stderr = fileno (stderr);
#ifndef DEBUG
const int fd_stderr = fileno (stderr);
const int stderr_bak = dup (fd_stderr);
#ifdef _WIN
const int tmp = open ("NUL", O_WRONLY);