summaryrefslogtreecommitdiff
path: root/devel/ftjam/files/patch-compile.c
blob: 80f801a6cbd1266560d5ddcbc0d80278289eb96d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;