[PATCH evtest 4/9] Add some extra braces
Peter Hutterer
peter.hutterer at who-t.net
Wed Aug 21 20:46:49 PDT 2013
No functional change
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
evtest.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/evtest.c b/evtest.c
index d57599c..2887d49 100644
--- a/evtest.c
+++ b/evtest.c
@@ -785,7 +785,7 @@ static int print_device_info(int fd)
ioctl(fd, EVIOCGBIT(0, EV_MAX), bit[0]);
printf("Supported events:\n");
- for (i = 0; i < EV_MAX; i++)
+ for (i = 0; i < EV_MAX; i++) {
if (test_bit(i, bit[0]) && i != EV_REP) {
printf(" Event type %d (%s)\n", i, events[i] ? events[i] : "?");
if (!i) continue;
@@ -797,6 +797,7 @@ static int print_device_info(int fd)
print_absdata(fd, j);
}
}
+ }
#ifdef INPUT_PROP_SEMI_MT
memset(propbits, 0, sizeof(propbits));
--
1.8.2.1
More information about the Input-tools
mailing list