[Crosstoolchain-logs] [device-tree-compiler] 269/357: dtc: Trivial formatting fixes

Hector Oron zumbi at moszumanska.debian.org
Thu Dec 8 17:06:22 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 c26015443acaefe0780a3209932e5534cd84a330
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Fri May 16 13:22:35 2008 +1000

    dtc: Trivial formatting fixes
    
    This patch fixes some trivial indentation and brace/bracket style
    problems.
---
 dtc.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/dtc.c b/dtc.c
index 6d67c9a..9b0164c 100644
--- a/dtc.c
+++ b/dtc.c
@@ -164,8 +164,8 @@ int main(int argc, char *argv[])
 			boot_cpuid_phys = strtol(optarg, NULL, 0);
 			break;
 		case 'v':
-		    printf("Version: %s\n", DTC_VERSION);
-		    exit(0);
+			printf("Version: %s\n", DTC_VERSION);
+			exit(0);
 		case 'h':
 		default:
 			usage();
@@ -180,9 +180,8 @@ int main(int argc, char *argv[])
 		arg = argv[optind];
 
 	/* minsize and padsize are mutually exclusive */
-	if ((minsize) && (padsize)) {
+	if (minsize && padsize)
 		die("Can't set both -p and -S\n");
-	}
 
 	fprintf(stderr, "DTC: %s->%s  on file \"%s\"\n",
 		inform, outform, arg);

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