diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2013-09-12 09:30:02 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2013-09-12 09:30:02 +0000 |
| commit | 9c3dd1e1e140ef6ed037baaf49fd4eec0fd65e5b (patch) | |
| tree | 52e749a2df2a6cef42a57723fc224412c39240e6 /src/runtime/c/gu/choice.c | |
| parent | 2105188bd0ab85a6388bc18de12e43936f996105 (diff) | |
remove the logging from libgu
Diffstat (limited to 'src/runtime/c/gu/choice.c')
| -rw-r--r-- | src/runtime/c/gu/choice.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/c/gu/choice.c b/src/runtime/c/gu/choice.c index ddf0bb68b..ed1e02a51 100644 --- a/src/runtime/c/gu/choice.c +++ b/src/runtime/c/gu/choice.c @@ -1,7 +1,6 @@ #include <gu/choice.h> #include <gu/seq.h> #include <gu/assert.h> -#include <gu/log.h> struct GuChoice { GuBuf* path; @@ -21,7 +20,6 @@ GuChoiceMark gu_choice_mark(GuChoice* ch) { gu_assert(ch->path_idx <= gu_buf_length(ch->path)); - gu_debug("%p@%d: mark", ch, ch->path_idx); return (GuChoiceMark){ch->path_idx}; } @@ -29,7 +27,6 @@ void gu_choice_reset(GuChoice* ch, GuChoiceMark mark) { gu_assert(ch->path_idx <= gu_buf_length(ch->path)); - gu_debug("%p@%d: reset %d", ch, ch->path_idx, mark.path_idx); gu_require(mark.path_idx <= ch->path_idx ); ch->path_idx = mark.path_idx; } @@ -51,7 +48,6 @@ gu_choice_next(GuChoice* ch, int n_choices) i = n_choices; } int ret = (i == 0) ? -1 : n_choices - i; - gu_debug("%p@%d: %d", ch, ch->path_idx, ret); ch->path_idx++; return ret; } |
