Browse Source

tal: remove unused assigned var (scan-build warning)

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rusty Russell 9 years ago
parent
commit
77aa87f087
1 changed files with 0 additions and 1 deletions
  1. 0 1
      ccan/tal/tal.c

+ 0 - 1
ccan/tal/tal.c

@@ -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))