Commit 0f34fc7a authored by Alejandro Mery's avatar Alejandro Mery
Browse files

temporarily hide known unused-parameters warnings

parent ebacb59a
...@@ -141,7 +141,7 @@ static inline int decompile_single(struct script_section *section, ...@@ -141,7 +141,7 @@ static inline int decompile_single(struct script_section *section,
/** /**
*/ */
static int decompile_section(void *bin, size_t bin_size, static int decompile_section(void *bin, size_t UNUSED(bin_size),
struct script_section *section, struct script_section *section,
FILE *out) FILE *out)
{ {
......
...@@ -54,7 +54,8 @@ static inline char *alltrim(char *s, size_t *l) ...@@ -54,7 +54,8 @@ static inline char *alltrim(char *s, size_t *l)
/** /**
*/ */
static int parse_fex(FILE *in, const char *filename, struct script *script) static int parse_fex(FILE *in, const char *UNUSED(filename),
struct script *UNUSED(script))
{ {
char buffer[MAX_LINE+1]; char buffer[MAX_LINE+1];
int ok = 1; int ok = 1;
...@@ -66,6 +67,8 @@ static int parse_fex(FILE *in, const char *filename, struct script *script) ...@@ -66,6 +67,8 @@ static int parse_fex(FILE *in, const char *filename, struct script *script)
fputs(p, stdout); fputs(p, stdout);
fputc('\n', stdout); fputc('\n', stdout);
(void)col;
}; };
if (ferror(in)) if (ferror(in))
......
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