Misc cleanups: use __attribute__((__unused__)); remove dead code.
This commit is contained in:
		@@ -175,15 +175,13 @@ entry_is_conf_file(const char *file)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
ftw_cb(const char *fpath, const struct stat *sb, int type, struct FTW *ftwbuf)
 | 
			
		||||
ftw_cb(const char *fpath, const struct stat *sb, int type, struct FTW *ftwbuf _unused)
 | 
			
		||||
{
 | 
			
		||||
	struct xentry *xe = NULL;
 | 
			
		||||
	const char *filep = NULL;
 | 
			
		||||
	char *buf, *p, *p2, *dname;
 | 
			
		||||
	ssize_t r;
 | 
			
		||||
 | 
			
		||||
	(void)ftwbuf;
 | 
			
		||||
 | 
			
		||||
	/* Ignore metadata files generated by xbps-src and destdir */
 | 
			
		||||
	if ((strcmp(fpath, ".") == 0) ||
 | 
			
		||||
	    (strcmp(fpath, "./props.plist") == 0) ||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user