summaryrefslogtreecommitdiff
path: root/src/runtime/c/gu/choice.c
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-12 09:30:02 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-12 09:30:02 +0000
commit9c3dd1e1e140ef6ed037baaf49fd4eec0fd65e5b (patch)
tree52e749a2df2a6cef42a57723fc224412c39240e6 /src/runtime/c/gu/choice.c
parent2105188bd0ab85a6388bc18de12e43936f996105 (diff)
remove the logging from libgu
Diffstat (limited to 'src/runtime/c/gu/choice.c')
-rw-r--r--src/runtime/c/gu/choice.c4
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;
}