1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

Remove user_options from potfile.c

As title, to avoid a compiler unused variable warning
This commit is contained in:
PenguinKeeper7 2023-09-04 19:24:38 +01:00
parent 4d31e4d6ce
commit f3fbc1174d

View File

@ -249,7 +249,6 @@ void potfile_write_close (hashcat_ctx_t *hashcat_ctx)
void potfile_write_append (hashcat_ctx_t *hashcat_ctx, const char *out_buf, const int out_len, u8 *plain_ptr, unsigned int plain_len)
{
const hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
const user_options_t *user_options = hashcat_ctx->user_options;
potfile_ctx_t *potfile_ctx = hashcat_ctx->potfile_ctx;
if (potfile_ctx->enabled == false) return;