shithub: riscv

Download patch

ref: 7de7444c6eeedc0eae05968ca51591bad22ff8a3
parent: 42240127a7c334097500cdc722cb7088f58cc04e
author: cinap_lenrek <[email protected]>
date: Mon Sep 9 12:56:01 EDT 2019

sdide: silence compiler warning in atadebug()

--- a/sys/src/9/pc/sdide.c
+++ b/sys/src/9/pc/sdide.c
@@ -417,8 +417,12 @@
 	int i;
 	va_list arg;
 
-	if(!(DEBUG & DbgPROBE))
+	if(!(DEBUG & DbgPROBE)){
+		USED(cmdport);
+		USED(ctlport);
+		USED(fmt);
 		return;
+	}
 
 	p = buf;
 	e = buf + sizeof buf;