Commit c3d04a4b authored by Bernhard Nortmann's avatar Bernhard Nortmann
Browse files

Get rid of two "unused parameter" warnings


Signed-off-by: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
parent 99daba15
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include "common.h"
#include "types.h" #include "types.h"
/* boot_file_head copied from mksunxiboot */ /* boot_file_head copied from mksunxiboot */
...@@ -271,7 +272,7 @@ void print_boot0_private_head(boot0_private_head_t *hdr, loader_type type) ...@@ -271,7 +272,7 @@ void print_boot0_private_head(boot0_private_head_t *hdr, loader_type type)
printf("\n"); printf("\n");
} }
void print_script(void *script) void print_script(void *UNUSED(script))
{ {
} }
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include "common.h"
#include "portable_endian.h" #include "portable_endian.h"
#define PIO_REG_SIZE 0x228 /*0x300*/ #define PIO_REG_SIZE 0x228 /*0x300*/
...@@ -310,7 +311,7 @@ static void cmd_clean(char *buf) ...@@ -310,7 +311,7 @@ static void cmd_clean(char *buf)
} }
} }
static int do_command(char *buf, const char **args, int argc) static int do_command(char *buf, const char **args, int UNUSED(argc))
{ {
const char *command = args[0]; const char *command = args[0];
if (*command == 'P') { if (*command == 'P') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment