mirror of
https://github.com/hashcat/hashcat
synced 2024-11-17 08:28:39 +01:00
Fix some clang compiler warnings
This commit is contained in:
parent
76612ac031
commit
f3b85a6363
@ -12600,7 +12600,7 @@ int main (int argc, char **argv)
|
||||
|
||||
for (uint i = 0; i < 32; i++)
|
||||
{
|
||||
const uint opti_bit = 1 << i;
|
||||
const uint opti_bit = 1u << i;
|
||||
|
||||
if (opti_type & opti_bit) log_info ("* %s", stroptitype (opti_bit));
|
||||
}
|
||||
|
@ -4,8 +4,6 @@
|
||||
*/
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
#pragma GCC diagnostic ignored "-Wunused-variable"
|
||||
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
|
||||
#include <rp_kernel_on_cpu.h>
|
||||
|
@ -2883,7 +2883,7 @@ uint32_t *hm_get_list_valid_adl_adapters (int iNumberAdapters, int *num_adl_adap
|
||||
{
|
||||
AdapterInfo info = lpAdapterInfo[i];
|
||||
|
||||
if ((info.strUDID == NULL) || (strlen (info.strUDID) < 1)) continue;
|
||||
if (strlen (info.strUDID) < 1) continue;
|
||||
|
||||
#ifdef WIN
|
||||
if (info.iVendorID != 1002) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user