diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-09-09 16:56:01 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-09-09 16:56:01 +0200 |
| commit | 7de7444c6eeedc0eae05968ca51591bad22ff8a3 (patch) | |
| tree | f1c1c338a537194fe839dedb467276fc98b4dc36 | |
| parent | 42240127a7c334097500cdc722cb7088f58cc04e (diff) | |
| download | plan9front-7de7444c6eeedc0eae05968ca51591bad22ff8a3.tar.xz | |
sdide: silence compiler warning in atadebug()
| -rw-r--r-- | sys/src/9/pc/sdide.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/src/9/pc/sdide.c b/sys/src/9/pc/sdide.c index f4eb2aaf7..b81972949 100644 --- a/sys/src/9/pc/sdide.c +++ b/sys/src/9/pc/sdide.c @@ -417,8 +417,12 @@ atadebug(int cmdport, int ctlport, char* fmt, ...) int i; va_list arg; - if(!(DEBUG & DbgPROBE)) + if(!(DEBUG & DbgPROBE)){ + USED(cmdport); + USED(ctlport); + USED(fmt); return; + } p = buf; e = buf + sizeof buf; |
