about summary refs log tree commit diff
path: root/src/afl-analyze.c
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-08-07 16:55:58 +0200
committerDominik Maier <domenukk@gmail.com>2020-08-07 16:55:58 +0200
commit22d3a5e90abd58c6a4bb68bf1b3f7ece8283f5bb (patch)
treee6bd88b59d83a426696dbb2850dee762d0a6f164 /src/afl-analyze.c
parent4a6d66d8c5dcbec8b5014ff0445d9292b3958e1d (diff)
downloadafl++-22d3a5e90abd58c6a4bb68bf1b3f7ece8283f5bb.tar.gz
enabled Wextra, fixed bugs
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r--src/afl-analyze.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c
index e6dd0fca..7c1c269a 100644
--- a/src/afl-analyze.c
+++ b/src/afl-analyze.c
@@ -384,7 +384,7 @@ static void show_legend(void) {
 
 /* Interpret and report a pattern in the input file. */
 
-static void dump_hex(u8 *buf, u32 len, u8 *b_data) {
+static void dump_hex(u32 len, u8 *b_data) {
 
   u32 i;
 
@@ -678,7 +678,7 @@ static void analyze(char **argv) {
 
   }
 
-  dump_hex(in_data, in_len, b_data);
+  dump_hex(in_len, b_data);
 
   SAYF("\n");
 
@@ -700,6 +700,7 @@ static void analyze(char **argv) {
 
 static void handle_stop_sig(int sig) {
 
+  (void)sig;
   stop_soon = 1;
 
   if (child_pid > 0) { kill(child_pid, SIGKILL); }