From: sin Date: Sat, 20 Dec 2014 19:14:10 +0000 (+0000) Subject: Remove unnecessary curly brackets X-Git-Tag: v1.0~92^2~99 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d907c3f9941a922579d3ad92aedeb1e4e2ab5c2e;p=nnn.git Remove unnecessary curly brackets --- diff --git a/noice.c b/noice.c index 81191088..ecad4475 100644 --- a/noice.c +++ b/noice.c @@ -303,10 +303,9 @@ nextsel(void) c = getch(); - for (i = 0; i < LEN(bindings); i++) { + for (i = 0; i < LEN(bindings); i++) if (c == bindings[i].sym) return bindings[i].act; - } return 0; }