From 1b9a6bc5b00e0f39bbf3f7e27c1f8a06034ba427 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 6 Mar 2019 17:57:32 +0100 Subject: core: ctxless: arrange local variables in reverse christmas tree order This is a cosmetic change: let's be consistent treewide and have all local variables arranged in reverse christmas tree order. Signed-off-by: Bartosz Golaszewski --- src/lib/ctxless.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ctxless.c b/src/lib/ctxless.c index d90a3e0..ba85018 100644 --- a/src/lib/ctxless.c +++ b/src/lib/ctxless.c @@ -35,8 +35,8 @@ int gpiod_ctxless_get_value_multiple(const char *device, struct gpiod_line_bulk bulk; struct gpiod_chip *chip; struct gpiod_line *line; - int rv, flags; unsigned int i; + int rv, flags; if (!num_lines || num_lines > GPIOD_LINE_BULK_MAX_LINES) { errno = EINVAL; -- cgit v1.2.3