tal: remove unused assigned var (scan-build warning)
[ccan] / ccan / tal / tal.c
index 8360b2520690c31a594da58a4cef8cb57889d87e..df4020ea07e4997b6888d9418cf521fa74437e6a 100644 (file)
@@ -906,7 +906,6 @@ static bool check_node(struct children *parent_child,
                        if (name)
                                return check_err(t, errorstr,
                                                 "has extra literal");
-                       name = (struct name *)p;
                        break;
                }
                if (!in_bounds(p))