Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
c3d04a4b
Commit
c3d04a4b
authored
Apr 13, 2016
by
Bernhard Nortmann
Browse files
Get rid of two "unused parameter" warnings
Signed-off-by:
Bernhard Nortmann
<
bernhard.nortmann@web.de
>
parent
99daba15
Changes
2
Hide whitespace changes
Inline
Side-by-side
bootinfo.c
View file @
c3d04a4b
...
...
@@ -25,6 +25,7 @@
#include <string.h>
#include <stdarg.h>
#include "common.h"
#include "types.h"
/* boot_file_head copied from mksunxiboot */
...
...
@@ -271,7 +272,7 @@ void print_boot0_private_head(boot0_private_head_t *hdr, loader_type type)
printf
(
"
\n
"
);
}
void
print_script
(
void
*
script
)
void
print_script
(
void
*
UNUSED
(
script
)
)
{
}
...
...
pio.c
View file @
c3d04a4b
...
...
@@ -29,6 +29,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include "common.h"
#include "portable_endian.h"
#define PIO_REG_SIZE 0x228
/*0x300*/
...
...
@@ -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
];
if
(
*
command
==
'P'
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment