Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powermand: fix malformed conditional
Problem: a conditional block was not enclosed in braces. Clang found this one in CI: client.c: In function ‘cli_pre_poll’: client.c:1070:9: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 1070 | if (listen_fds[i] != NO_FD) | ^~ client.c:1072:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 1072 | xpollfd_set(pfd, listen_fds[i], XPOLLIN); | ^~~~~~~~~~~
- Loading branch information