diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-09-27 11:51:21 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-09-27 11:51:21 +0000 |
commit | 5458f35c1680c7e3020254b2f8040a16580d7c56 (patch) | |
tree | 899a8e1069cab0b04b0abccb57feb5a706ea73eb /usr.bin/aucat/opt.c | |
parent | 26f5f9c05ad85998a517e34bab3faedf58da33bf (diff) |
remove all debug traces
Diffstat (limited to 'usr.bin/aucat/opt.c')
-rw-r--r-- | usr.bin/aucat/opt.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.bin/aucat/opt.c b/usr.bin/aucat/opt.c index 1d507c14011..8eb267a6a2e 100644 --- a/usr.bin/aucat/opt.c +++ b/usr.bin/aucat/opt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: opt.c,v 1.1 2009/07/25 08:44:27 ratchov Exp $ */ +/* $OpenBSD: opt.c,v 1.2 2009/09/27 11:51:20 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -53,15 +53,6 @@ opt_new(char *name, struct aparams *wpar, struct aparams *rpar, int maxweight) o->wpar = *wpar; o->rpar = *rpar; o->maxweight = maxweight; -#ifdef DEBUG - if (debug_level > 0) { - fprintf(stderr, "opt_new: %s: wpar=", o->name); - aparams_print(&o->wpar); - fprintf(stderr, ", rpar="); - aparams_print(&o->rpar); - fprintf(stderr, ", vol=%u\n", o->maxweight); - } -#endif SLIST_INSERT_HEAD(&opt_list, o, entry); } @@ -72,11 +63,9 @@ opt_byname(char *name) SLIST_FOREACH(o, &opt_list, entry) { if (strcmp(name, o->name) == 0) { - DPRINTF("opt_byname: %s found\n", o->name); return o; } } - DPRINTF("opt_byname: %s not found\n", name); return NULL; } |