mirror of
https://github.com/hashcat/hashcat.git
synced 2025-07-02 04:42:36 +00:00
Do not use MAYBE_UNUSED in inc_common.cl
This commit is contained in:
parent
1c45de4b63
commit
76bf5173ba
@ -27,41 +27,41 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define KERN_ATTR(p2,p4,p5,p6,p19) \
|
#define KERN_ATTR(p2,p4,p5,p6,p19) \
|
||||||
MAYBE_UNUSED GLOBAL_AS pw_t *pws, \
|
GLOBAL_AS pw_t *pws, \
|
||||||
MAYBE_UNUSED p2 const kernel_rule_t *rules_buf, \
|
p2 const kernel_rule_t *rules_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const pw_t *combs_buf, \
|
GLOBAL_AS const pw_t *combs_buf, \
|
||||||
MAYBE_UNUSED p4, \
|
p4, \
|
||||||
MAYBE_UNUSED GLOBAL_AS p5 *tmps, \
|
GLOBAL_AS p5 *tmps, \
|
||||||
MAYBE_UNUSED GLOBAL_AS p6 *hooks, \
|
GLOBAL_AS p6 *hooks, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s1_a, \
|
GLOBAL_AS const u32 *bitmaps_buf_s1_a, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s1_b, \
|
GLOBAL_AS const u32 *bitmaps_buf_s1_b, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s1_c, \
|
GLOBAL_AS const u32 *bitmaps_buf_s1_c, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s1_d, \
|
GLOBAL_AS const u32 *bitmaps_buf_s1_d, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s2_a, \
|
GLOBAL_AS const u32 *bitmaps_buf_s2_a, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s2_b, \
|
GLOBAL_AS const u32 *bitmaps_buf_s2_b, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s2_c, \
|
GLOBAL_AS const u32 *bitmaps_buf_s2_c, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const u32 *bitmaps_buf_s2_d, \
|
GLOBAL_AS const u32 *bitmaps_buf_s2_d, \
|
||||||
MAYBE_UNUSED GLOBAL_AS plain_t *plains_buf, \
|
GLOBAL_AS plain_t *plains_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const digest_t *digests_buf, \
|
GLOBAL_AS const digest_t *digests_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS u32 *hashes_shown, \
|
GLOBAL_AS u32 *hashes_shown, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const salt_t *salt_bufs, \
|
GLOBAL_AS const salt_t *salt_bufs, \
|
||||||
MAYBE_UNUSED GLOBAL_AS const p19 *esalt_bufs, \
|
GLOBAL_AS const p19 *esalt_bufs, \
|
||||||
MAYBE_UNUSED GLOBAL_AS u32 *d_return_buf, \
|
GLOBAL_AS u32 *d_return_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS void *d_extra0_buf, \
|
GLOBAL_AS void *d_extra0_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS void *d_extra1_buf, \
|
GLOBAL_AS void *d_extra1_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS void *d_extra2_buf, \
|
GLOBAL_AS void *d_extra2_buf, \
|
||||||
MAYBE_UNUSED GLOBAL_AS void *d_extra3_buf, \
|
GLOBAL_AS void *d_extra3_buf, \
|
||||||
MAYBE_UNUSED const u32 bitmap_mask, \
|
const u32 bitmap_mask, \
|
||||||
MAYBE_UNUSED const u32 bitmap_shift1, \
|
const u32 bitmap_shift1, \
|
||||||
MAYBE_UNUSED const u32 bitmap_shift2, \
|
const u32 bitmap_shift2, \
|
||||||
MAYBE_UNUSED const u32 salt_pos, \
|
const u32 salt_pos, \
|
||||||
MAYBE_UNUSED const u32 loop_pos, \
|
const u32 loop_pos, \
|
||||||
MAYBE_UNUSED const u32 loop_cnt, \
|
const u32 loop_cnt, \
|
||||||
MAYBE_UNUSED const u32 il_cnt, \
|
const u32 il_cnt, \
|
||||||
MAYBE_UNUSED const u32 digests_cnt, \
|
const u32 digests_cnt, \
|
||||||
MAYBE_UNUSED const u32 digests_offset, \
|
const u32 digests_offset, \
|
||||||
MAYBE_UNUSED const u32 combs_mode, \
|
const u32 combs_mode, \
|
||||||
MAYBE_UNUSED const u64 gid_max
|
const u64 gid_max
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Shortcut macros for usage in the actual kernels
|
* Shortcut macros for usage in the actual kernels
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "emu_general.h"
|
#include "emu_general.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
|
|
||||||
#define DGST_ELEM 4
|
#define DGST_ELEM 4
|
||||||
#define DGST_POS0 0
|
#define DGST_POS0 0
|
||||||
#define DGST_POS1 1
|
#define DGST_POS1 1
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
#include "types.h"
|
#include "types.h"
|
||||||
#include "emu_general.h"
|
#include "emu_general.h"
|
||||||
|
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||||
|
|
||||||
#define DGST_ELEM 4
|
#define DGST_ELEM 4
|
||||||
#define DGST_POS0 0
|
#define DGST_POS0 0
|
||||||
#define DGST_POS1 1
|
#define DGST_POS1 1
|
||||||
|
Loading…
Reference in New Issue
Block a user