From 9c3dd1e1e140ef6ed037baaf49fd4eec0fd65e5b Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 12 Sep 2013 09:30:02 +0000 Subject: remove the logging from libgu --- src/runtime/c/gu/choice.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/runtime/c/gu/choice.c') 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 #include #include -#include 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; } -- cgit v1.2.3