X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Flist%2F_info;fp=ccan%2Flist%2F_info;h=a30659c1cf694e0f1350ab9719f86c01b45a5c07;hp=8b5bd9b5e15a336fbb464ba66bc4d7de7e5d955e;hb=bc771e48f57e2f2cefdce9c03698e2c19345bc10;hpb=b2cc1341c9464b6da4654fd3fa0aafe934fba578;ds=sidebyside diff --git a/ccan/list/_info b/ccan/list/_info index 8b5bd9b5..a30659c1 100644 --- a/ccan/list/_info +++ b/ccan/list/_info @@ -38,6 +38,7 @@ * * p.name = argv[1]; * list_head_init(&p.children); + * p.num_children = 0; * for (i = 2; i < argc; i++) { * c = malloc(sizeof(*c)); * c->name = argv[i];