mirror of
https://github.com/hashcat/hashcat.git
synced 2025-02-19 19:12:11 +00:00
Merge pull request #2364 from mpalmer/fix-build-warning-in-debug-mode
Fix build warning in DEBUG mode
This commit is contained in:
commit
e542b4bd85
@ -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;
|
OCL_PTR *ocl = (OCL_PTR *) backend_ctx->ocl;
|
||||||
|
|
||||||
const int fd_stderr = fileno (stderr);
|
|
||||||
|
|
||||||
#ifndef DEBUG
|
#ifndef DEBUG
|
||||||
|
const int fd_stderr = fileno (stderr);
|
||||||
const int stderr_bak = dup (fd_stderr);
|
const int stderr_bak = dup (fd_stderr);
|
||||||
#ifdef _WIN
|
#ifdef _WIN
|
||||||
const int tmp = open ("NUL", O_WRONLY);
|
const int tmp = open ("NUL", O_WRONLY);
|
||||||
|
Loading…
Reference in New Issue
Block a user