mirror of
				https://git.proxmox.com/git/mirror_zfs
				synced 2025-10-31 13:29:32 +00:00 
			
		
		
		
	spl: fix compilation without HAVE_BACKTRACE
The __maybe_unused macro is defined in spl/sys/debug.h Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Martin Matuska <mm@FreeBSD.org> Closes #16229
This commit is contained in:
		
							parent
							
								
									01c8efdd59
								
							
						
					
					
						commit
						ae22044da9
					
				| @ -110,6 +110,8 @@ libspl_backtrace(int fd) | ||||
| 	backtrace_symbols_fd(btptrs, nptrs, fd); | ||||
| } | ||||
| #else | ||||
| #include <sys/debug.h> | ||||
| 
 | ||||
| void | ||||
| libspl_backtrace(int fd __maybe_unused) | ||||
| { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Martin Matuška
						Martin Matuška