shithub: riscv

Download patch

ref: 287519384276174884d7ea1c91168a4a88916276
parent: a3f2d6d23ed1be69fee607bdedadc0438fd01305
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Apr 7 18:03:28 EDT 2024

disk/smart: fix a warning

--- a/sys/src/cmd/disk/smart/scsi.c
+++ b/sys/src/cmd/disk/smart/scsi.c
@@ -57,6 +57,7 @@
 {
 	char *e;
 
+	USED(cdb, u);
 	if(1)
 		return;
 	e = scsierror(u[12], u[13]);