Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-01-29 15:05:24 +0300
committerFelix Fietkau <nbd@openwrt.org>2011-01-29 15:05:24 +0300
commit461e986a80600a3373ed5d5bb6db7bcd1baa92d1 (patch)
treedb42c1537e1bc091a19a4425998f1a43ebcea1b8 /examples
parentd28eb7fc2816e5f9b2e8e3455c0c19faf2270b08 (diff)
remove #if 0'd debug code
Diffstat (limited to 'examples')
-rw-r--r--examples/blobmsg-example.c12
1 files changed, 0 insertions, 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)