From 8f8ada008c7b614dea948728ffd69aea22f64ebd Mon Sep 17 00:00:00 2001 From: Jan Ziak <0xe2.0x9a.0x9b@gmail.com> Date: Wed, 9 Apr 2014 15:39:28 +0200 Subject: [PATCH] cmd/gc: drop { } around single-line if-statement body LGTM=rsc R=rsc CC=golang-codereviews https://golang.org/cl/85890043 --- src/cmd/gc/gen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cmd/gc/gen.c b/src/cmd/gc/gen.c index 5a5c1c24c1..17c0a7082d 100644 --- a/src/cmd/gc/gen.c +++ b/src/cmd/gc/gen.c @@ -301,9 +301,8 @@ gen(Node *n) break; case OLABEL: - if(isblanksym(n->left->sym)) { + if(isblanksym(n->left->sym)) break; - } lab = newlab(n);