mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	tests: cmd: draid: remove unused and undocumented -v
Found with -Wunused-but-set-variable on Clang trunk Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #13304
This commit is contained in:
		
							parent
							
								
									ad0379bf0e
								
							
						
					
					
						commit
						670d66e7a0
					
				@ -1318,14 +1318,11 @@ static int
 | 
			
		||||
draid_merge(int argc, char *argv[])
 | 
			
		||||
{
 | 
			
		||||
	char filename[MAXPATHLEN];
 | 
			
		||||
	int c, error, total_merged = 0, verbose = 0;
 | 
			
		||||
	int c, error, total_merged = 0;
 | 
			
		||||
	nvlist_t *allcfgs;
 | 
			
		||||
 | 
			
		||||
	while ((c = getopt(argc, argv, ":v")) != -1) {
 | 
			
		||||
	while ((c = getopt(argc, argv, ":")) != -1) {
 | 
			
		||||
		switch (c) {
 | 
			
		||||
		case 'v':
 | 
			
		||||
			verbose++;
 | 
			
		||||
			break;
 | 
			
		||||
		case ':':
 | 
			
		||||
			(void) fprintf(stderr,
 | 
			
		||||
			    "missing argument for '%c' option\n", optopt);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user