tal: remove unused assigned var (scan-build warning)
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 8 Sep 2016 02:05:43 +0000 (11:35 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 8 Sep 2016 02:05:43 +0000 (11:35 +0930)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
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))