summaryrefslogtreecommitdiff
path: root/devel/ftjam/files/patch-pathunix.c
blob: 6003463806ff2378eef1dfce3cab3929d0e33ab4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- pathunix.c.orig	2006-06-05 12:52:12.000000000 +0200
+++ pathunix.c	2014-08-07 15:41:24.000000000 +0200
@@ -110,7 +110,7 @@
 	p = 0;
 	q = file;
 
-	while( q = (char *)memchr( q, '.', end - q ) )
+	while( ( q = (char *)memchr( q, '.', end - q ) ) )
 	    p = q++;
 
 	if( p )
@@ -136,6 +136,7 @@
 	char	*file,
 	int	binding )
 {
+	(void)binding;
 	/* Start with the grist.  If the current grist isn't */
 	/* surrounded by <>'s, add them. */