1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-16 03:38:19 +00:00

Fix some compiler warnings when compiling hashcat_shared

This commit is contained in:
jsteube 2016-11-02 22:00:33 +01:00
parent bd12a1eb0d
commit baa9517aa1

View File

@ -23,7 +23,7 @@ static void main_cracker_hash_cracked (MAYBE_UNUSED hashcat_ctx_t *hashcat_ctx,
fwrite (EOL, strlen (EOL), 1, stdout);
}
void event (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)
static void event (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const size_t len)
{
switch (id)
{
@ -31,7 +31,7 @@ void event (const u32 id, hashcat_ctx_t *hashcat_ctx, const void *buf, const siz
}
}
int main ()
int main (MAYBE_UNUSED int argc, MAYBE_UNUSED char **argv)
{
// hashcat main context