mirror of
https://github.com/hashcat/hashcat
synced 2024-11-13 17:28:58 +01:00
Fix some compiler warning on unused variables
This commit is contained in:
parent
94b565262a
commit
99f58f90a4
@ -3295,6 +3295,7 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
|
||||
{
|
||||
bool amd_warn = true;
|
||||
|
||||
#if defined (__linux__)
|
||||
const char *t1 = strstr (device_param->driver_version, "(HSA,LC)");
|
||||
const char *t2 = strstr (device_param->driver_version, "(PAL,LC)");
|
||||
const char *t3 = strstr (device_param->driver_version, "(PAL,HSAIL)");
|
||||
@ -3302,7 +3303,6 @@ int opencl_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
|
||||
const char *t5 = strstr (device_param->driver_version, "(PAL, LC)");
|
||||
const char *t6 = strstr (device_param->driver_version, "(PAL, HSAIL)");
|
||||
|
||||
#if defined (__linux__)
|
||||
if ((t1 == NULL) && (t2 == NULL) && (t3 == NULL) && (t4 == NULL) && (t5 == NULL) && (t6 == NULL))
|
||||
{
|
||||
// AMDGPU-PRO Driver 16.40 and higher
|
||||
|
Loading…
Reference in New Issue
Block a user