Some cleanup
This commit is contained in:
@@ -251,10 +251,7 @@ static int sort_by_usage (const void *p1, const void *p2)
|
||||
if (u1->hash_category > u2->hash_category) return 1;
|
||||
if (u1->hash_category < u2->hash_category) return -1;
|
||||
|
||||
if (u1->hash_mode > u2->hash_mode) return 1;
|
||||
if (u1->hash_mode < u2->hash_mode) return -1;
|
||||
|
||||
return 0;
|
||||
return strcmp (u1->hash_name, u2->hash_name);
|
||||
}
|
||||
|
||||
void usage_mini_print (const char *progname)
|
||||
@@ -273,7 +270,6 @@ void usage_big_print (hashcat_ctx_t *hashcat_ctx)
|
||||
hashconfig_t *hashconfig = hashcat_ctx->hashconfig;
|
||||
user_options_t *user_options = hashcat_ctx->user_options;
|
||||
|
||||
|
||||
char *modulefile = (char *) hcmalloc (HCBUFSIZ_TINY);
|
||||
|
||||
usage_sort_t *usage_sort_buf = (usage_sort_t *) hccalloc (MODULE_HASH_MODES_MAXIMUM, sizeof (usage_sort_t));
|
||||
|
||||
Reference in New Issue
Block a user