changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: sdide: silence compiler warning in atadebug()

changeset 7381: 5a1c2da0c115
parent 7380: 696a8b797a1e
child 7382: 3c09fcb69346
author: cinap_lenrek@felloff.net
date: Mon, 09 Sep 2019 16:56:01 +0200
files: sys/src/9/pc/sdide.c
description: sdide: silence compiler warning in atadebug()
     1.1--- a/sys/src/9/pc/sdide.c
     1.2+++ b/sys/src/9/pc/sdide.c
     1.3@@ -417,8 +417,12 @@ atadebug(int cmdport, int ctlport, char*
     1.4 	int i;
     1.5 	va_list arg;
     1.6 
     1.7-	if(!(DEBUG & DbgPROBE))
     1.8+	if(!(DEBUG & DbgPROBE)){
     1.9+		USED(cmdport);
    1.10+		USED(ctlport);
    1.11+		USED(fmt);
    1.12 		return;
    1.13+	}
    1.14 
    1.15 	p = buf;
    1.16 	e = buf + sizeof buf;