From 461e986a80600a3373ed5d5bb6db7bcd1baa92d1 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 29 Jan 2011 13:05:24 +0100 Subject: [PATCH 1/1] remove #if 0'd debug code --- examples/blobmsg-example.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/examples/blobmsg-example.c b/examples/blobmsg-example.c index c88f53a..6eec16d 100644 --- a/examples/blobmsg-example.c +++ b/examples/blobmsg-example.c @@ -121,9 +121,6 @@ static void fill_message(struct blob_buf *buf) { void *tbl; -#if 0 - int i; -#endif blobmsg_add_string(buf, "message", "Hello, world!"); @@ -137,15 +134,6 @@ fill_message(struct blob_buf *buf) blobmsg_add_u32(buf, "hello", 1); blobmsg_add_string(buf, "world", "2"); blobmsg_close_table(buf, tbl); - -#if 0 - for (i = 0; i < buf->buflen; i++) { - if (i % 0x10 == 0) - fprintf(stderr, "\n"); - fprintf(stderr, "%02x ", ((uint8_t *) buf->buf)[i]); - } - fprintf(stderr, "\n"); -#endif } int main(int argc, char **argv) -- 2.11.0