[Crosstoolchain-logs] [device-tree-compiler] 108/357: dtc: Remove bogus break statement

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:05:56 UTC 2016


This is an automated email from the git hooks/post-receive script.

zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.

commit 6936273aa40371811a99c3516b613d299792831b
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Thu Jun 28 11:32:31 2007 +1000

    dtc: Remove bogus break statement
    
    Commit 0738774fcc34b78a708a127fb4b2f193d08c94ba introduced some
    incorrect indentation / bracketing in unflatten_tree().  By luck, the
    extra break statement intended to be within an if block, but actually
    afterwards has no semantic effect.  Still, this patch gets rid of it
    for cleanliness.
    
    Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
---
 flattree.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/flattree.c b/flattree.c
index 412177f..68ada2f 100644
--- a/flattree.c
+++ b/flattree.c
@@ -779,7 +779,6 @@ static struct node *unflatten_tree(struct inbuf *dtbuf,
 			if (!(flags & FTF_NOPS))
 				fprintf(stderr, "Warning: NOP tag found in flat tree"
 					" version <16\n");
-				break;
 
 			/* Ignore */
 			break;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list