diff options
| author | Pietro Cerutti <gahr@FreeBSD.org> | 2014-10-07 12:25:49 +0000 |
|---|---|---|
| committer | Pietro Cerutti <gahr@FreeBSD.org> | 2014-10-07 12:25:49 +0000 |
| commit | e47808b75c4c01fa35f0fceb291b9450e96325ae (patch) | |
| tree | 21dd1055343a14db0b8d00f86625c678d7320bfc /devel/ftjam/files/patch-compile.c | |
| parent | audio/decibel-audio-player: switch from py-imaging to py-pillow (diff) | |
- Chase compiler warnings, upstream: https://savannah.nongnu.org/bugs/?42945
Diffstat (limited to 'devel/ftjam/files/patch-compile.c')
| -rw-r--r-- | devel/ftjam/files/patch-compile.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/devel/ftjam/files/patch-compile.c b/devel/ftjam/files/patch-compile.c new file mode 100644 index 000000000000..80f801a6cbd1 --- /dev/null +++ b/devel/ftjam/files/patch-compile.c @@ -0,0 +1,32 @@ +--- compile.c.orig 2014-08-07 15:35:58.000000000 +0200 ++++ compile.c 2014-08-07 15:36:52.000000000 +0200 +@@ -371,6 +371,8 @@ + LOL *args, + int *jmp ) + { ++ (void)jmp; ++ + /* voodoo 1 means: s is a copyable string */ + const char *s = parse->string; + return var_expand( L0, s, s + strlen( s ), args, 1 ); +@@ -434,6 +436,10 @@ + LOL *args, + int *jmp ) + { ++ (void)parse; ++ (void)args; ++ (void)jmp; ++ + return L0; + } + +@@ -692,6 +698,9 @@ + LOL *args, + int *jmp ) + { ++ (void)args; ++ (void)jmp; ++ + RULE *rule = bindrule( parse->string ); + LIST *params = 0; + PARSE *p; |
